mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
13 lines
284 B
HTML
13 lines
284 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<body style="margin:0" onload="doTest()">
|
||
|
<div style="height:1205.6px"></div>
|
||
|
<div id="d" style="height:0.6px; background:red"></div>
|
||
|
<script>
|
||
|
function doTest() {
|
||
|
window.scrollTo(0, document.documentElement.scrollTop);
|
||
|
}
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|