blob: d927f5a09f65b90a9660fd3a97036071c06c940b [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ internal: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>