| <!-- Based on fast/repaint/layout-state-only-positioned.html --> |
| <head> |
| <script src="resources/paint-invalidation-test.js" type="text/javascript"></script> |
| <script> |
| window.expectedPaintInvalidationObjects = [ |
| "LayoutBlockFlow (positioned) DIV", |
| "VerticalScrollbar", |
| "VerticalScrollbar", |
| "VerticalScrollbar", |
| "LayoutBlockFlow (positioned) DIV id='q'", |
| ]; |
| function paintInvalidationTest() |
| { |
| document.getElementById("q").style.height = "200px"; |
| } |
| </script> |
| </head> |
| <body onload="runPaintInvalidationTest()"> |
| <div style="position: absolute; top: 50px; left: 0; overflow: overlay; width: 100px; height: 100px; border: solid"> |
| <div id="q" style="position: absolute; top: 0; height: 50px; width: 10px;"></div> |
| </div> |
| </body> |