blob: 1463d8834046db4b9725d733dcb2740971dd91fe [file] [log] [blame]
<!-- webkit-test-runner [ useThreadedScrolling=false 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>