blob: 62e5bdd2687fb3c06771f4e8490dd37a17470135 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<video style="transform: translateZ(0); position: absolute; top: 0px; left: 0px; height: 100px; width: 100px; background: lightblue"></video>
<div style="position: absolute; top: 50px; left: 50px; width: 200px; height: 200px; background: lightgray;"></div>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
// Tests that squashing into videos is not allowed.
if (testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
runAfterLayoutAndPaint(function() {
testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document));
testRunner.notifyDone();
});
}
</script>
|