blob: 230bb8b53a3603c664211aaea6496dde3c5d0aba [file] [log] [blame]
<!-- webkit-test-runner [ useThreadedScrolling=false ] -->
<!DOCTYPE html>
<html>
<head>
<meta name=viewport content="width=device-width">
<style>
.scrollable {
overflow: scroll;
-webkit-overflow-scrolling: touch;
width: 300px;
height: 300px;
}
.container {
overflow: hidden;
}
.indicator {
position: relative;
top: 100px;
background-color: red;
}
.box {
width: 100px;
height: 100px;
}
</style>
<script>
if (window.internals)
window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
</script>
</head>
<body>
<!-- Expect no red (a blank page) -->
<div class="scrollable">
<div class="container box">
<div class="indicator box"></div>
</div>
</div>
</body>
</html>