mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +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>
|