blob: fc890bee53aed56c287cceb13362f8af5ca2f1b7 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.fixed {
position: fixed;
width: 50px;
height: 50px;
top: 10px;
left: 10px;
z-index: -1;
}
</style>
<script type="text/javascript">
if (window.internals)
window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
if (window.testRunner) {
testRunner.dumpAsText();
window.addEventListener("load", function() {
document.getElementById("synchronousScrollingReasons").innerText = window.internals.synchronousScrollingReasons();
}, false);
}
</script>
</head>
<body>
<div style="height: 1000px">
Synchronous scrolling reasons should be blank:
<pre id="synchronousScrollingReasons"></pre>
</div>
<div class="fixed"></div>
</body>
</html>