OLD | NEW |
(Empty) | |
| 1 <!doctype HTML> |
| 2 Any errors will show below this line. |
| 3 <!-- Having a composited child should always be a position:fixed compositing tri
gger --> |
| 4 <div style="position: fixed; width: 100px; height: 100px; background: lightgray"
> |
| 5 <div style="will-change: transform; margin: 50px; width: 50px; height: 50px;
background: lightblue"> |
| 6 </div> |
| 7 </div> |
| 8 <script src="../resources/testharness.js"></script> |
| 9 <script> |
| 10 if (window.testRunner) |
| 11 testRunner.dumpAsText(); |
| 12 if (window.internals) { |
| 13 var layers = JSON.parse(internals.layerTreeAsText(document)); |
| 14 assert_true(layers.children.length == 1 && layers.children[0].children.lengt
h == 1); |
| 15 } |
| 16 </script> |
OLD | NEW |