function run()
{ var oldY = window.scrollY;
window.location.hash="#abc"; var newY = window.scrollY;
isnot(oldY, newY, "we scroll at all");
ok(oldY + 4000 < newY, "we scroll at least 4000 pixels");
window.scrollTo(0, 0); // make the results visible
SimpleTest.finish();
}
</script>
</pre>
<divstyle="height:4000px"></div>
<a name="abc"></a>You should see this text if you click on the link.
<divstyle="height:4000px"></div>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.