chromium/third_party/blink/web_tests/paint/invalidation/scroll/resize-scrollable-div.html

<!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 = runRepaintAndPixelTest;
</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>