OLD | NEW |
1 <!-- Based on fast/repaint/destroy-scrollbar.html --> | 1 <!-- Based on fast/repaint/destroy-scrollbar.html --> |
2 <!DOCTYPE html> | 2 <!DOCTYPE html> |
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 "VerticalScrollbar", | |
7 "LayoutBlockFlow (positioned) DIV", | |
8 ]; | |
9 function paintInvalidationTest() { | 5 function paintInvalidationTest() { |
10 document.getElementById('content').style.height = '100px'; | 6 document.getElementById('content').style.height = '100px'; |
11 } | 7 } |
12 onload = runPaintInvalidationTest; | 8 onload = runPaintInvalidationTest; |
13 </script> | 9 </script> |
14 Tests invalidation when a scrollbar is destroyed. Passes if there is no scrollba
r. | 10 Tests invalidation when a scrollbar is destroyed. Passes if there is no scrollba
r. |
15 <div style="position: absolute; top: 100px; left: 0; width: 200px; height: 200px
; overflow: auto"> | 11 <div style="position: absolute; top: 100px; left: 0; width: 200px; height: 200px
; overflow: auto"> |
16 <div id="content" style="width: 100px; height: 400px"></div> | 12 <div id="content" style="width: 100px; height: 400px"></div> |
17 </div> | 13 </div> |
OLD | NEW |