1 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
2 <body style=
"overflow: hidden;">
4 Test for
<i><a href=
"rdar://problem/10098679"><rdar://problem/
10098679></a>
5 Assertion failure in
<tt>Layer::paintPaginatedChildLayer()
</tt></i>.
8 The test passes if it does not cause an assertion failure or a crash.
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>
15 <div id=
"widener" style=
"height: 10px; width: 200%;"></div>
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);