blob: ffef6ea844f2c3856a6b4814e672ff415dde0944 [file] [log] [blame]
<!DOCTYPE html>
<style>
#absolute {
position: absolute;
background-color: red;
text-transform: uppercase;
}
</style>
<script>
function load() {
document.body.offsetHeight;
document.getElementById("absolute").innerHTML = "test";
}
window.onload = load;
</script>
The text "TEST" should have a red background.
<div id="absolute"></div>