blob: ada18549c1e20a09f76ded450b897c989f88e9ba [file] [log] [blame]
<!-- webkit-test-runner [ useThreadedScrolling=false internal:AsyncOverflowScrollingEnabled=true ] -->
<!DOCTYPE html>
<html>
<head>
<meta name=viewport content="width=device-width">
<style>
.scrollable {
height: 200px;
width: 100px;
overflow: scroll;
-webkit-overflow-scrolling: touch;
}
.container {
height: 100px;
overflow: hidden;
position: relative;
background-color: green;
}
.indicator {
margin-top: 100px;
height: 100px;
background-color: red;
}
</style>
</head>
<body>
<!-- Should see a green square (no red). -->
<div class="scrollable">
<div class="container">
<div class="indicator"></div>
</div>
</div>
</body>
</html>