| OLD | NEW | 
|---|
| 1 <!-- Based on fast/repaint/trailing-floats-root-line-box-overflow.html --> | 1 <!-- Based on fast/repaint/trailing-floats-root-line-box-overflow.html --> | 
| 2 <head> | 2 <head> | 
| 3     <script src="resources/paint-invalidation-test.js"></script> | 3     <script src="resources/paint-invalidation-test.js"></script> | 
| 4     <script> | 4     <script> | 
| 5         window.expectedPaintInvalidationObjects = [ |  | 
| 6             "LayoutBlockFlow (positioned) DIV id='target'", |  | 
| 7         ]; |  | 
| 8         function paintInvalidationTest() | 5         function paintInvalidationTest() | 
| 9         { | 6         { | 
| 10             document.getElementById("target").style.display = "none"; | 7             document.getElementById("target").style.display = "none"; | 
| 11         } | 8         } | 
| 12     </script> | 9     </script> | 
| 13 </head> | 10 </head> | 
| 14 <body onload="runPaintInvalidationTest()"> | 11 <body onload="runPaintInvalidationTest()"> | 
| 15     <div style="background-color: yellow;"><div style="display: inline-block; wi
    dth: 100px; height: 100px; background-color: green; margin-top: 50px; margin-bot
    tom: -100px;"></div><br><div style="float: left;"></div></div> | 12     <div style="background-color: yellow;"><div style="display: inline-block; wi
    dth: 100px; height: 100px; background-color: green; margin-top: 50px; margin-bot
    tom: -100px;"></div><br><div style="float: left;"></div></div> | 
| 16     <div style="position: absolute; height: 100px; background-color: red; width:
     100px;" id="target"></div> | 13     <div style="position: absolute; height: 100px; background-color: red; width:
     100px;" id="target"></div> | 
| 17 </body> | 14 </body> | 
| OLD | NEW | 
|---|