blob: 7c164d25f73c359aef88253c63e990c31aafade7 [file] [log] [blame]
<!-- Based on fast/repaint/destroy-scrollbar.html -->
<!DOCTYPE html>
<script src="resources/paint-invalidation-test.js"></script>
<script>
function paintInvalidationTest() {
document.getElementById('content').style.height = '100px';
}
onload = runPaintInvalidationTest;
</script>
Tests invalidation when a 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>