Have fixedPositionCreatesStackingContext be on by default everywhere
[WebKit-https.git] / LayoutTests / compositing / layer-creation / subpixel-adjacent-layers-overlap.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5     <style>
6         body {
7             margin: 0;
8         }
9         .box {
10             height: 200px;
11             width: 200px;
12             background-color: silver;
13             position: relative;
14         }
15         .composited {
16             -webkit-transform: translateZ(0);
17         }
18         
19         p {
20             height: 12.345px; /* Subpixel height */
21         }
22     </style>
23     <script>
24         if (window.testRunner)
25             testRunner.dumpAsText();
26
27         function runTest()
28         {
29             if (window.testRunner)
30               document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
31         }
32         window.addEventListener('load', runTest, false);
33     </script>
34 </head>
35 <body>
36 <p>Here is some text</p>
37 <div class="composited box">
38 </div>
39 <div class="box">
40 </div>
41 <pre id="layers"></pre>
42 </body>
43 </html>