blob: e54f4d67622e9e094c07ca55d4b244fe1fb80eeb [file] [log] [blame]
<!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>