OLD | NEW |
| 1 <!-- Based on fast/repaint/trailing-floats-root-line-box-overflow.html --> |
1 <head> | 2 <head> |
2 <script src="resources/text-based-repaint.js"></script> | 3 <script src="resources/paint-invalidation-test.js"></script> |
3 <script> | 4 <script> |
4 function repaintTest() | 5 window.expectedPaintInvalidationObjects = [ |
| 6 "LayoutBlockFlow (positioned) DIV id='target'", |
| 7 ]; |
| 8 function paintInvalidationTest() |
5 { | 9 { |
6 document.getElementById("target").style.display = "none"; | 10 document.getElementById("target").style.display = "none"; |
7 } | 11 } |
8 </script> | 12 </script> |
9 </head> | 13 </head> |
10 <body onload="runRepaintTest()"> | 14 <body onload="runPaintInvalidationTest()"> |
11 <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> | 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="position: absolute; height: 100px; background-color: red; width:
100px;" id="target"></div> | 16 <div style="position: absolute; height: 100px; background-color: red; width:
100px;" id="target"></div> |
13 </body> | 17 </body> |
OLD | NEW |