mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
13 lines
355 B
HTML
13 lines
355 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
window.onload = function() {
|
|
document.body.offsetWidth;
|
|
document.body.style.top = "200px";
|
|
};
|
|
</script>
|
|
</head>
|
|
<body><div style="position: relative; top: inherit">This text should be 200px from the top of the body</div></body>
|
|
</html>
|