blob: 6d863947962387b93f4966577e02ac503586abe1 [file] [log] [blame]
<!-- Based on fast/repaint/resize-scrollable-div.html -->
<!DOCTYPE html>
<script src="resources/paint-invalidation-test.js"></script>
<script>
function paintInvalidationTest() {
document.getElementById('div').style.width='300px';
document.getElementById('div').style.height='300px';
}
onload = runPaintInvalidationTest;
</script>
<div style="height: 100px">
Tests paint invalidation of scrollbars and scroll corner when a srollable div is resized.
Passes if the scrollbars and scroll corner are repainted correctly, and no under-invalidation
in slimming-paint mode (with slimmingPaintUnderInvalidationChecking enabled).
</div>
<div id="div" style="width: 100px; height: 100px; overflow: scroll"></div>