haikuwebkit/LayoutTests/tiled-drawing/scrolling/scrolling-tree-slow-scrolli...

32 lines
788 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.box {
height: 100px;
width: 100px;
background-image: -webkit-repeating-linear-gradient(red 10%, green 10%, green 30%);
background-attachment: fixed; /* At this time, background-attachment:fixed forces slow mode. */
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function doTest()
{
if (window.internals) {
document.getElementById('layers').innerText = internals.scrollingStateTreeAsText();
}
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<div class="box">
</div>
<pre id="layers">Scrolling tree goes here</p>
</body>
</html>