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