2 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
5 internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
10 background-color: red;
14 <div id=
"child"></div>
16 This test passes if it doesn't crash.
18 if (window
.testRunner
) {
19 testRunner
.dumpAsText();
20 testRunner
.waitUntilDone();
23 runAfterLayoutAndPaint(function() {
24 document
.getElementById('parent').style
.visibility
= 'hidden';
25 runAfterLayoutAndPaint(function() {
26 testRunner
.notifyDone();