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