OLD | NEW |
| (Empty) |
1 <!-- Based on fast/repaint/resize-scrollable-div.html --> | |
2 <!DOCTYPE html> | |
3 <script src="resources/paint-invalidation-test.js"></script> | |
4 <script> | |
5 function paintInvalidationTest() { | |
6 document.getElementById('div').style.width='300px'; | |
7 document.getElementById('div').style.height='300px'; | |
8 } | |
9 onload = runPaintInvalidationTest; | |
10 </script> | |
11 <div style="height: 100px"> | |
12 Tests paint invalidation of scrollbars and scroll corner when a srollable div is
resized. | |
13 Passes if the scrollbars and scroll corner are repainted correctly, and no under
-invalidation | |
14 in slimming-paint mode (with slimmingPaintUnderInvalidationChecking enabled). | |
15 </div> | |
16 <div id="div" style="width: 100px; height: 100px; overflow: scroll"></div> | |
17 | |
OLD | NEW |