| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 <!-- Based on fast/repaint/scrollbar-invalidation-on-resize.html --> | 
|  | 2 <!DOCTYPE html> | 
|  | 3 <script src="resources/paint-invalidation-test.js"></script> | 
|  | 4 <script> | 
|  | 5 window.expectedPaintInvalidationObjects = [ | 
|  | 6     "HorizontalScrollbar", | 
|  | 7     "VerticalScrollbar", | 
|  | 8     "VerticalScrollbar", | 
|  | 9     "HorizontalScrollbar", | 
|  | 10     "HorizontalScrollbar", | 
|  | 11     "LayoutBlockFlow (positioned) DIV id='scrollable'", | 
|  | 12 ]; | 
|  | 13 function paintInvalidationTest() { | 
|  | 14   document.getElementById('scrollable').style.width = '300px'; | 
|  | 15 } | 
|  | 16 onload = runPaintInvalidationTest; | 
|  | 17 </script> | 
|  | 18 <style> | 
|  | 19 #scrollable { | 
|  | 20   overflow: scroll; | 
|  | 21   position: absolute; | 
|  | 22   top: 50px; | 
|  | 23   width: 100px; | 
|  | 24   height: 100px; | 
|  | 25 } | 
|  | 26 </style> | 
|  | 27 When a scrollable area is resized, the invalidation area should cover non-compos
    ited scrollbars. | 
|  | 28 <div id="scrollable"></div> | 
|  | 29 | 
| OLD | NEW | 
|---|