blob: c1c31c390ca5b10124b22fde5bc26bf701572ac2 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ AsyncOverflowScrollingEnabled=true ] -->
<html>
<head>
<style>
html {
-webkit-overflow-scrolling: touch;
}
.container {
margin: 10px;
width: 200px;
border: 1px solid black;
overflow: auto;
display: inline-block;
}
.contents {
width: 100%;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.addEventListener('load', function() {
if (window.testRunner)
document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
}, true);
</script>
</head>
<body>
<!-- None of these should be scrollable -->
<div class="container">
<div class="contents" style="height: 200.25px">
Content
</div>
</div>
<div class="container">
<div class="contents" style="height: 200.5px">
Content
</div>
</div>
<div class="container">
<div class="contents" style="height: 200.75px">
Content
</div>
</div>
<pre id="layers"></pre>
</body>
</html>