Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / scroll-fixed-layer-with-no-visible-content.html
blob6d3b29f061b31bfeef0b5a0f5d836cc4a81aa9b5
1 <html>
2 <head>
3 <title></title>
4 <link rel="stylesheet" href="resources/default.css"></style>
5 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
6 <script type="text/javascript">
7 if (window.testRunner)
8 testRunner.dumpAsTextWithPixelResults();
10 window.onload = function() {
11 window.scrollTo(1000, 1000);
12 runRepaintTest();
15 function repaintTest()
17 var moveMeElement = document.getElementById('moveMe');
18 moveMeElement.style.visibility = "visible";
19 moveMeElement.scrollTop = 100;
20 moveMeElement.scrollLeft = 150;
22 </script>
23 </head>
24 <body style="height:2000px;">
25 <!-- You should see 1 green rectangle in the output and no red. -->
26 <div id="moveMe" style="top: 150px; left: 100px; visibility: hidden" class="fixed clipped"><div class="absolute green" style="top: 100px; left: 150px;"></div></div>
27 <!-- Make sure we are scrolled -->
28 <div style="top: 0px; left: 0px;" class="absolute red"></div>
29 </body>
30 </html>