blob: 9a083d4b161759ecbca877fe9253748a99f2b268 [file] [log] [blame]
<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
document.getElementById('iframe').style.width='300px';
document.getElementById('iframe').style.height='300px';
}
onload = runRepaintAndPixelTest;
</script>
<div style="height: 100px">
Tests paint invalidation of scrollbars and scroll corner when a srollable iframe is resized.
Passes if the scrollbars and scroll corner are repainted correctly, and no under-invalidation
in slimming-paint mode (with slimmingPaintUnderInvalidationChecking enabled).
</div>
<iframe id="iframe" style="border: none; width: 100px; height: 100px"
srcdoc="<div style='width: 1000px; height: 1000px'></div>">
</iframe>