blob: 3af79de3f83bfa8ee3534ff09aad37de8b079a3b [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.fixed {
position: fixed;
width: 10px;
height: 10px;
background-color: silver;
}
</style>
<script type="text/javascript">
if (window.testRunner)
testRunner.dumpAsText();
function doTest()
{
if (window.internals) {
document.getElementById('scrollingTree').innerText = internals.scrollingStateTreeAsText();
}
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<div style="height: 1000px">
<pre id="scrollingTree"></pre>
</div>
<div class="fixed" style="top: -100px"></div>
<div class="fixed" style="top: 0px; left: 1000px"></div>
<div class="fixed" style="top: 0px; left: 0px"></div>
</body>
</html>