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