Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / fixed-background-negative-z-index-fixed.html
blob92658efcd4c76b83e8a00e37e98efd909bb6818e
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style>
6 body {
7 height: 2000px;
8 background-image: url('resources/simple_image.png');
9 background-size: 200px 200px;
10 background-attachment: fixed;
11 overflow: hidden; /* hide scrollbar */
13 .fixed {
14 position: fixed;
15 z-index: -1;
16 top: 50px;
17 left: 50px;
18 width: 200px;
19 height: 200px;
20 background-color: silver;
22 </style>
23 <script>
24 if (window.testRunner) {
25 testRunner.waitUntilDone();
26 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
29 function doTest()
31 window.scrollTo(0, 223);
32 if (window.testRunner)
33 testRunner.notifyDone();
36 window.addEventListener('load', doTest, false);
37 </script>
38 </head>
39 <body>
41 <div class="fixed box"></div>
43 </body>
44 </html>