blob: 8ba8ab3dfb7eb5bb3580c4a8919b4c662a300615 [file] [log] [blame]
<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
if (window.internals)
internals.useMockOverlayScrollbars();
function repaintTest() {
document.getElementById('content').style.height = '100px';
}
onload = runRepaintAndPixelTest;
</script>
Tests invalidation when an overlay scrollbar is destroyed. Passes if there is no scrollbar.
<div style="position: absolute; top: 100px; left: 0; width: 200px; height: 200px; overflow: auto">
<div id="content" style="width: 100px; height: 400px"></div>
</div>