| OLD | NEW |
| 1 <!-- Based on fast/repaint/subtree-root-clip-2.html --> | 1 <!-- Based on fast/repaint/subtree-root-clip-2.html --> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/paint-invalidation-test.js"></script> | 4 <script src="resources/paint-invalidation-test.js"></script> |
| 5 <script> | 5 <script> |
| 6 window.expectedPaintInvalidationObjects = [ | |
| 7 "LayoutBlockFlow (floating) DIV", | |
| 8 "LayoutBlockFlow DIV id='target'", | |
| 9 ]; | |
| 10 function paintInvalidationTest() | 6 function paintInvalidationTest() |
| 11 { | 7 { |
| 12 document.getElementById("target").style.width = "100px"; | 8 document.getElementById("target").style.width = "100px"; |
| 13 } | 9 } |
| 14 </script> | 10 </script> |
| 15 </head> | 11 </head> |
| 16 <body onload="runPaintInvalidationTest()"> | 12 <body onload="runPaintInvalidationTest()"> |
| 17 <div> | 13 <div> |
| 18 <span style="-position: relative; top: 25px; left: 25px;"> | 14 <span style="-position: relative; top: 25px; left: 25px;"> |
| 19 <div style="float: left; height: 100px; width: 100px; overflow: hidden;
background-color: red;"> | 15 <div style="float: left; height: 100px; width: 100px; overflow: hidden;
background-color: red;"> |
| 20 <div id="target" style="height: 100px; width: 0; background-color: g
reen;"> | 16 <div id="target" style="height: 100px; width: 0; background-color: g
reen;"> |
| 21 </div> | 17 </div> |
| 22 </div> | 18 </div> |
| 23 </span> | 19 </span> |
| 24 </div> | 20 </div> |
| 25 </body> | 21 </body> |
| 26 </html> | 22 </html> |
| OLD | NEW |