blob: 2d5ce866607bbda0e9973f646df5f111d48e0cee [file] [log] [blame]
<!DOCTYPE html>
<!--
This test checks that accelerated scrolling layers can be scrolled without
repainting their contents. See https://bugs.webkit.org/show_bug.cgi?id=96087.
-->
<html>
<head>
<style type="text/css">
#scroller {
overflow: scroll;
-webkit-overflow-scrolling: touch;
width: 200px;
height: 200px;
border: solid thin blue;
}
#content {
height: 1000px;
margin-top: 25px;
}
</style>
<script type="text/javascript">
onload = function() {
document.getElementById('scroller').scrollTop = 25;
};
</script>
</head>
<body>
<div id="scroller">
<div id="content"></div>
</div>
</body>
</html>