Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / fixed-and-absolute-position-scrolled.html
bloba7f2f6fc457c4cf58d11973f0c58e893f0c566cf
1 <html>
2 <head>
3 <link rel="stylesheet" href="resources/default.css">
4 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
5 <script type="text/javascript">
6 if (window.testRunner)
7 testRunner.dumpAsTextWithPixelResults();
9 window.onload = function() {
10 window.scrollTo(0, 500);
11 runRepaintTest();
14 function repaintTest()
16 document.getElementById('container').style.position = 'static';
18 </script>
19 </head>
20 <body style="height:2000px;">
21 <!-- You should see 1 green rectangle in the output and no red. -->
22 <div style="top: 200px; left: 100px;" class="fixed red"></div>
23 <div id="container" style="top: 5000px;" class="relative"><div id="absoluteDiv" style="top: 700px; left:100px;" class="absolute green"></div></div>
24 </body>
25 </html>