blob: 77150338c51e41718b67ddc27cf7bb32de4c9594 [file] [log] [blame]
<!DOCTYPE html>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
var child = document.getElementById('child');
child.style.width = '150px';
child.style.height = '300px';
}
onload = runRepaintTest;
</script>
<!-- The scrollbar parts (forward track, thumb and back track) of the container
should be properly repainted when the contents change size. -->
<div style="width: 100px; height: 100px; overflow: scroll">
<div id="child" style="width: 200px; height: 200px"></div>
</div>