Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / geometry / fixed-position-composited-page-scale-smaller-than-viewport.html
blobed626f3802c229fa8787f741b150dc77a68de043
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 ::-webkit-scrollbar {
6 width: 0px;
7 height: 0px;
9 .reference {
10 position: absolute;
11 left: 51px;
12 top: 51px;
13 width: 98px;
14 height: 98px;
15 background-color: blue;
17 .fixed {
18 position: fixed;
19 left: 50px;
20 top: 50px;
21 width: 100px;
22 height: 100px;
23 background-color: white;
25 </style>
26 <script>
27 if (window.internals && window.eventSender)
28 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
29 window.internals.setPageScaleFactor(0.5);
30 </script>
31 </head>
32 <body style="width: 4000px; height: 4000px">
33 On success, the blue reference box should be invisible (covered by the fixed box).
34 <div class="reference"></div>
35 <div class="fixed"></div>
36 </body>
37 </html>