<script>
is(document.getElementById("first").scrollHeight, 600, "Scroll height should be computed correctly");
document.getElementById("first").scrollTop = 150;
is(document.getElementById("first").scrollHeight, 600, "Scroll height should be a constant when scrolling");
// The true height is 727.5 and we don't always snap the same direction.
isfuzzy(document.getElementById("second").scrollHeight, 728, 1, "Scroll height should be computed correctly");
document.getElementById("second").scrollTop = 150;
isfuzzy(document.getElementById("second").scrollHeight, 728, 1, "Scroll height should be a constant when scrolling");
</script>
</body></html>
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
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.