Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / erase-overflow.html
blob47f541c44ae6cca8ab5c2a1f5ad349eaf03b7cd5
1 <!-- Based on fast/repaint/erase-overflow.html -->
2 <html>
3 <head>
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=11935</title>
5 <style type="text/css">
6 div.square { width: 100px; height: 100px; }
7 </style>
8 <script type="text/javascript" src="resources/paint-invalidation-test.js"></script>
9 <script type="text/javascript">
10 window.expectedPaintInvalidationObjects = [
11 "LayoutBlockFlow DIV id='target' class='square'",
12 "LayoutBlockFlow DIV class='square'",
14 function paintInvalidationTest()
16 document.getElementById("target").style.overflow = "hidden";
18 </script>
19 </head>
20 <body onload="runPaintInvalidationTest()">
21 <div id="target" class="square">
22 <div class="square" style="background-color: green"></div>
23 <div class="square" style="background-color: red"></div>
24 </div>
25 </body>
26 </html>