mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
13 lines
452 B
HTML
13 lines
452 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
window.onload = function() {
|
||
|
document.body.offsetWidth;
|
||
|
document.getElementById("foo").style.top = "200px";
|
||
|
};
|
||
|
</script>
|
||
|
</head>
|
||
|
<body style="font-size: 0"><span id="foo"><span style="position: relative; top: inherit; display: block; font-size: medium">This text should be 200px from the top of the body</span></span></body>
|
||
|
</html>
|