OLD | NEW |
1 <!-- Based on fast/repaint/layout-state-only-positioned.html --> | 1 <!-- Based on fast/repaint/layout-state-only-positioned.html --> |
2 <head> | 2 <head> |
3 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> | 3 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> |
4 <script> | 4 <script> |
5 window.expectedPaintInvalidationObjects = [ | |
6 "LayoutBlockFlow (positioned) DIV", | |
7 "VerticalScrollbar", | |
8 "VerticalScrollbar", | |
9 "VerticalScrollbar", | |
10 "LayoutBlockFlow (positioned) DIV id='q'", | |
11 ]; | |
12 function paintInvalidationTest() | 5 function paintInvalidationTest() |
13 { | 6 { |
14 document.getElementById("q").style.height = "200px"; | 7 document.getElementById("q").style.height = "200px"; |
15 } | 8 } |
16 </script> | 9 </script> |
17 </head> | 10 </head> |
18 <body onload="runPaintInvalidationTest()"> | 11 <body onload="runPaintInvalidationTest()"> |
19 <div style="position: absolute; top: 50px; left: 0; overflow: overlay; width
: 100px; height: 100px; border: solid"> | 12 <div style="position: absolute; top: 50px; left: 0; overflow: overlay; width
: 100px; height: 100px; border: solid"> |
20 <div id="q" style="position: absolute; top: 0; height: 50px; width: 10px
;"></div> | 13 <div id="q" style="position: absolute; top: 0; height: 50px; width: 10px
;"></div> |
21 </div> | 14 </div> |
22 </body> | 15 </body> |
OLD | NEW |