OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 | 2 |
3 <div style="width: 200px; height: 200px; background: lightgray; transform: trans
lateZ(0)"></div> | 3 <div style="width: 200px; height: 200px; background: lightgray; transform: trans
lateZ(0)"></div> |
4 <iframe style="position: absolute; top: 0px; left: 0px; height: 100px; width: 10
0px; background: lightblue"> | 4 <iframe style="position: absolute; top: 0px; left: 0px; height: 100px; width: 10
0px; background: lightblue"> |
5 </iframe> | 5 </iframe> |
6 <script src="../../resources/run-after-display.js"></script> | 6 <script src="../../resources/run-after-display.js"></script> |
7 <script> | 7 <script> |
8 if (internals) | |
9 internals.settings.setLayerSquashingEnabled(true); | |
10 if (testRunner) { | 8 if (testRunner) { |
11 testRunner.dumpAsText(); | 9 testRunner.dumpAsText(); |
12 testRunner.waitUntilDone(); | 10 testRunner.waitUntilDone(); |
13 runAfterDisplay(function() { | 11 runAfterDisplay(function() { |
14 testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document
)); | 12 testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document
)); |
15 testRunner.notifyDone(); | 13 testRunner.notifyDone(); |
16 }); | 14 }); |
17 } | 15 } |
18 | 16 |
19 </script> | 17 </script> |
OLD | NEW |