<!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> | |