OLD | NEW |
(Empty) | |
| 1 <!-- Based on fast/repaint/overflow-hide.html --> |
| 2 <html> |
| 3 <head> |
| 4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"> |
| 5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> |
| 6 <script type="text/javascript"> |
| 7 window.expectedPaintInvalidationObjects = [ |
| 8 "LayoutBlockFlow (positioned) DIV id='overflowParent' class='absolut
e green'", |
| 9 "LayoutBlockFlow (relative positioned) DIV class='relative red'", |
| 10 ]; |
| 11 function paintInvalidationTest() |
| 12 { |
| 13 document.getElementById('overflowParent').style.overflow = "hidden"; |
| 14 } |
| 15 </script> |
| 16 </head> |
| 17 <body style="height:2000px;" onload="runPaintInvalidationTest()"> |
| 18 <!-- You should see one green rectangle sharing one corner in the output. --
> |
| 19 <div id="overflowParent" class="absolute green"><div style="top:100px; left:
100px;" class="relative red"></div></div> |
| 20 </body> |
| 21 </html> |
OLD | NEW |