blob: 7ed6be29f0814dfb7021f8cd7e6b4b0fbf3e9631 [file] [log] [blame]
<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
document.getElementById('scrollable').style.width = '300px';
}
onload = runRepaintAndPixelTest;
</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>