blob: 187dd4c298dcf492e6f6d029b9c3ea688360cb27 [file] [log] [blame]
<!DOCTYPE html>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
document.getElementById('div').style.width='300px';
document.getElementById('div').style.height='300px';
}
onload = runRepaintTest;
</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>