blob: 2a0b654a2c9e25e80898ba33266013e6d5e45f2f [file] [log] [blame]
<!DOCTYPE html>
<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>