Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / nested-fixed-iframe-scrolled.html
blobb9e521fe7d61c91e9ca63e13372055c5f970157c
1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 frames[0].frames[0].document.getElementById('div').style.backgroundColor = 'green';
7 onload = function() {
8 // Scroll before repaint test to test correct scroll offset of invalidation rect
9 // for contents of the fixed-position inner-iframe when it needs repaint.
10 window.scrollTo(0, 400);
11 if (window.testRunner)
12 runRepaintTest();
13 // For manual testing, the background color change is triggered in the iframe content.
15 </script>
16 <body style="height: 2000px">
17 Tests paint invalidation of contents of fixed-position iframe in another iframe after main frame is scrolled.
18 Passes if there is a 100x100 green rectangle and no red in the inner-most iframe.
19 <iframe style="position: absolute; top: 500px; left: 0" src="resources/fixed-iframe.html"></iframe>
20 </body>