Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / layer-creation / no-main-thread-scrolling-for-non-composited-fixed-position-without-scroll.html
blob29e88323b314de17c2c5ac124cbbf17802774d0c
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .fixed {
6 position: fixed;
7 left: 10px;
8 top: 10px;
10 </style>
12 <script>
13 if (window.internals)
14 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
16 if (window.testRunner) {
17 testRunner.dumpAsText();
19 window.addEventListener("load", function() {
20 document.getElementById("layerTree").innerText = window.internals.layerTreeAsText(document);
21 document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons(document);
22 }, false);
24 </script>
25 </head>
27 <body>
28 <div class="fixed">TEST</div>
30 <pre id="layerTree"></pre>
31 <pre id="mainThreadScrollingReasons"></pre>
32 </body>
33 </html>