Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / intermediate-layout-position-clip.html
blob54e61faff0b686bd7b2bfdf80415fc9fa12df66b
1 <!-- Based on fast/repaint/intermediate-layout-position-clip.html -->
2 <html>
3 <head>
4 <title></title>
5 <style type="text/css">
6 .float { float: right; height: 40px; width: 40px; }
7 .test { height: 200px; background-color: aliceblue }
8 </style>
9 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
10 <script type="text/javascript">
11 window.expectedPaintInvalidationObjects = [
12 "LayoutBlockFlow DIV id='target'",
14 function paintInvalidationTest()
16 document.getElementById('target').style.height='20px';
18 </script>
19 </head>
20 <body onload="runPaintInvalidationTest()">
21 <div id="scroller" style="overflow: hidden; height: 40px">
22 <div class="test">
23 <div class="float"></div>
24 <div style="clear: right; padding-bottom: 10px;">
25 <div style="height: 40px; width: 40px; background-color: red;" id="target">
26 </div>
27 </div>
28 </div>
29 </div>
30 <script>scroller.scrollTop = 60;</script>
31 </body>
32 </html>