blob: ab1fa2b9404911c3a00eb022f7c2ad6bf95b5fc0 [file] [log] [blame]
* Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
* @description
import "dart:html";
import "../../testcommon.dart";
import "../../../Utils/async_utils.dart";
import "../../resources/run-after-display.dart";
main() {
Test for <i><a href="rdar://problem/10098679">&lt;rdar://problem/10098679></a>
Assertion failure in <tt>RenderLayer::paintPaginatedChildLayer()</tt></i>.
The test passes if it does not cause an assertion failure or a crash.
<!-- specifying opacity < 1 so that the transition from having columns
to not having columns does not cause the layer to go away -->
<div id="target" style="-webkit-column-count:2; column-count:2; column-fill:auto; opacity: 0.5; height: 20px;">
<div style="position:relative;"></div>
<div id="widener" style="height: 10px; width: 200%;"></div>
''', treeSanitizer: new NullTreeSanitizer());
document.body.setAttribute("style", "overflow: hidden;");
window.scrollBy(1, 0);