blob: 310df8597bb020f8b6416d7ab7790083fe93cb1e [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ AsyncOverflowScrollingEnabled=true ] -->
<html>
<head>
<style>
.scrollable {
overflow-y: scroll;
height: 300px;
width: 300px;
margin: 10px;
border: 1px solid black;
}
.box.sharing {
background-color: blue;
}
.box {
position: relative;
top: 50px;
left: 50px;
width: 180px;
height: 180px;
background-color: green;
}
.spacer {
height: 500px;
}
</style>
</head>
<body>
<div class="scrollable">
<div class="sharing box">
<div class="inner box"></div>
</div>
<div class="spacer"></div>
</div>
</body>
</html>