blob: b720dab095b6b207e8d8d558b2260c71811e6163 [file] [log] [blame]
<!-- Based on fast/repaint/destroy-scrollbar.html -->
<!DOCTYPE html>
<script src="resources/paint-invalidation-test.js"></script>
<script>
window.expectedPaintInvalidationObjects = [
"VerticalScrollbar",
"LayoutBlockFlow (positioned) DIV",
];
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>