OLD | NEW |
---|---|
(Empty) | |
1 <!doctype HTML> | |
2 <!-- Having a composited child should always be a position:fixed compositing tri gger --> | |
3 <div style="position: fixed; width: 100px; height: 100px; background: lightgray" > | |
4 <div style="will-change: transform; margin: 50px; width: 50px; height: 50px; background: lightblue"> | |
5 </div> | |
6 </div> | |
7 <script> | |
8 if (window.testRunner) | |
9 testRunner.dumpAsText(); | |
10 if (window.internals) { | |
11 var layerTree = document.createElement('pre'); | |
12 layerTree.innerHTML = internals.layerTreeAsText(document); | |
Ian Vollick
2015/10/23 00:05:19
suggestion: perhaps you could check the JSON for t
chrishtr
2015/10/23 16:43:58
Done.
| |
13 document.body.appendChild(layerTree); | |
14 } | |
15 </script> | |
OLD | NEW |