OLD | NEW |
1 <body style="overflow: hidden;"> | 1 <body style="overflow: hidden;"> |
2 <p> | 2 <p> |
3 Test for <i><a href="rdar://problem/10098679"><rdar://problem/1009867
9></a> | 3 Test for <i><a href="rdar://problem/10098679"><rdar://problem/1009867
9></a> |
4 Assertion failure in <tt>RenderLayer::paintPaginatedChildLayer()</tt></i
>. | 4 Assertion failure in <tt>RenderLayer::paintPaginatedChildLayer()</tt></i
>. |
5 </p> | 5 </p> |
6 <p> | 6 <p> |
7 The test passes if it does not cause an assertion failure or a crash. | 7 The test passes if it does not cause an assertion failure or a crash. |
8 </p> | 8 </p> |
9 <!-- specifying opacity < 1 so that the transition from having columns | 9 <!-- specifying opacity < 1 so that the transition from having columns |
10 to not having columns does not cause the layer to go away --> | 10 to not having columns does not cause the layer to go away --> |
11 <div id="target" style="-webkit-column-count: 2; opacity: 0.5; height: 20px;
"> | 11 <div id="target" style="-webkit-column-count:2; column-count:2; column-fill:
auto; opacity: 0.5; height: 20px;"> |
12 <div style="position:relative;"></div> | 12 <div style="position:relative;"></div> |
13 </div> | 13 </div> |
14 <div id="widener" style="height: 10px; width: 200%;"></div> | 14 <div id="widener" style="height: 10px; width: 200%;"></div> |
15 <script> | 15 <script> |
16 function test() | 16 function test() |
17 { | 17 { |
18 document.getElementById("widener").style.removeProperty("width"); | 18 document.getElementById("widener").style.removeProperty("width"); |
19 document.getElementById("target").style.removeProperty("-webkit-colu
mn-count"); | 19 document.getElementById("target").style.removeProperty("-webkit-colu
mn-count"); |
20 } | 20 } |
21 | 21 |
22 window.scrollBy(1, 0); | 22 window.scrollBy(1, 0); |
23 | 23 |
24 if (window.testRunner) { | 24 if (window.testRunner) { |
25 testRunner.display(); | 25 testRunner.display(); |
26 testRunner.dumpAsText(); | 26 testRunner.dumpAsText(); |
27 test(); | 27 test(); |
28 } else | 28 } else |
29 setTimeout(test, 500); | 29 setTimeout(test, 500); |
30 | 30 |
31 </script> | 31 </script> |
32 </body> | 32 </body> |
OLD | NEW |