| OLD | NEW |
| 1 <!-- Based on fast/repaint/overflow-clip-subtree-layout.html --> | 1 <!-- Based on fast/repaint/overflow-clip-subtree-layout.html --> |
| 2 <head> | 2 <head> |
| 3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=15015 rdar://problem/
5420308</title> | 3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=15015 rdar://problem/
5420308</title> |
| 4 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> | 4 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> |
| 5 <script> | 5 <script> |
| 6 window.expectedPaintInvalidationObjects = [ | |
| 7 "LayoutBlockFlow DIV", | |
| 8 ]; | |
| 9 function paintInvalidationTest() | 6 function paintInvalidationTest() |
| 10 { | 7 { |
| 11 document.getElementById("float").appendChild(document.createElement(
"div")); | 8 document.getElementById("float").appendChild(document.createElement(
"div")); |
| 12 } | 9 } |
| 13 </script> | 10 </script> |
| 14 </head> | 11 </head> |
| 15 <body onload="runPaintInvalidationTest()"> | 12 <body onload="runPaintInvalidationTest()"> |
| 16 <div style="width: 400px; height: 400px; border: solid;"> | 13 <div style="width: 400px; height: 400px; border: solid;"> |
| 17 <div id="float" style="float: left; width: 200px; height: 200px; overflo
w: hidden;"> | 14 <div id="float" style="float: left; width: 200px; height: 200px; overflo
w: hidden;"> |
| 18 </div> | 15 </div> |
| 19 </div> | 16 </div> |
| 20 </body> | 17 </body> |
| OLD | NEW |