Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / geometry / fixed-position-composited-page-scale-scroll.html
blob6618259bfb0168b2c9244f4d946bf5e844238e6d
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .fixed-no-z-index {
6 position: absolute;
7 left: 10px;
9 .fixed-with-z-index {
10 position: fixed;
11 z-index: 1;
12 left: 10px;
13 transform:translateZ(0);
15 </style>
16 <script>
17 if (window.internals && window.eventSender) {
18 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
19 window.internals.setPageScaleFactor(2);
21 function test() {
22 window.scrollTo(100,100);
23 if (window.testRunner)
24 testRunner.dumpAsText();
26 </script>
27 </head>
28 <body onload="test();" style="width:2000px;height:2000px;">
29 <div class="fixed-no-z-index">This test should not hit an assertion in LayoutGeometryMap in debug builds</div><br>
30 <div class="fixed-with-z-index">This test should not hit an assertion in LayoutGeometryMap in debug builds</div>
31 </body>
32 </html>