Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / subtree-root-clip-2.html
blob80acba6b44dafc112071959cbb3857b9555b536c
1 <!-- Based on fast/repaint/subtree-root-clip-2.html -->
2 <html>
3 <head>
4 <script src="resources/paint-invalidation-test.js"></script>
5 <script>
6 window.expectedPaintInvalidationObjects = [
7 "LayoutBlockFlow (floating) DIV",
8 "LayoutBlockFlow DIV id='target'",
9 ];
10 function paintInvalidationTest()
12 document.getElementById("target").style.width = "100px";
14 </script>
15 </head>
16 <body onload="runPaintInvalidationTest()">
17 <div>
18 <span style="-position: relative; top: 25px; left: 25px;">
19 <div style="float: left; height: 100px; width: 100px; overflow: hidden; background-color: red;">
20 <div id="target" style="height: 100px; width: 0; background-color: green;">
21 </div>
22 </div>
23 </span>
24 </div>
25 </body>
26 </html>