gecko-dev/dom/html/crashtests/423371-1.html

10 строки
180 B
HTML

<!DOCTYPE HTML>
<html>
<body>
<div style="position:fixed; top:100px;" id="d">hello</div>
<script>
document.write(document.getElementById("d").offsetTop);
</script>
</body>
</html>