blob: 8a2e367edce8586bc79597faad4a59102774be42 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<style>
body {
margin: 0;
height: 20000px;
}
div {
width: 100px;
height: 100px;
background-color: green;
}
::-webkit-scrollbar {
width: 0px;
height: 0px;
}
</style>
<div></div>
<script>
if (window.testRunner)
testrunner.waitUntilDone();
runAfterLayoutAndPaint(function() {
window.scrollTo(0, 10000);
runAfterLayoutAndPaint(function() {
window.scrollTo(0, 0);
if (window.testRunner)
testRunner.notifyDone();
});
});
</script>