blob: 6f3dc88e72a1368ce26799bc3e0cc183104e2c15 [file] [log] [blame]
<!DOCTYPE html>
<html><head>
<style type="text/css">
#absolute {
position: absolute;
background-color: red;
font-family: "Meiryo";
}
</style>
<script type="text/javascript">
function load() {
document.body.offsetHeight;
document.getElementById("absolute").innerHTML = "test";
}
window.onload = load;
</script>
</head>
<body>
The text "test" should have a red background.
<div id="absolute"></div>
</body></html>