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