Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / layer-no-longer-paginated.html
blob4ec6c2c6f7e5f9c7a880dd49055b5cfb7eebde51
1 <script src="../../resources/run-after-layout-and-paint.js"></script>
2 <body style="overflow: hidden;">
3 <p>
4 Test for <i><a href="rdar://problem/10098679">&lt;rdar://problem/10098679></a>
5 Assertion failure in <tt>Layer::paintPaginatedChildLayer()</tt></i>.
6 </p>
7 <p>
8 The test passes if it does not cause an assertion failure or a crash.
9 </p>
10 <!-- specifying opacity < 1 so that the transition from having columns
11 to not having columns does not cause the layer to go away -->
12 <div id="target" style="-webkit-column-count:2; column-count:2; column-fill:auto; opacity: 0.5; height: 20px;">
13 <div style="position:relative;"></div>
14 </div>
15 <div id="widener" style="height: 10px; width: 200%;"></div>
16 <script>
17 function test()
19 document.getElementById("widener").style.removeProperty("width");
20 document.getElementById("target").style.removeProperty("-webkit-column-count");
23 window.scrollBy(1, 0);
24 if (window.testRunner)
25 testRunner.dumpAsText();
26 runAfterLayoutAndPaint(test, true);
27 </script>
28 </body>