blob: 183504af4d531a77a232b0247d776cd0fde80494 [file] [log] [blame]
<!-- Based on fast/repaint/scrollbar-invalidation-on-resize-with-border.html -->
<!DOCTYPE html>
<script src="resources/paint-invalidation-test.js"></script>
<script>
function paintInvalidationTest() {
document.getElementById('scrollable').style.width = '300px';
}
onload = runPaintInvalidationTest;
</script>
<style>
#scrollable {
overflow: scroll;
position: absolute;
top: 50px;
width: 100px;
height: 100px;
border: solid 10px green;
}
</style>
When a scrollable area is resized, the invalidation area should cover non-composited scrollbars.
<div id="scrollable"></div>