<!DOCTYPE html> | |
<p>The word "PASS" should be seen in the bottom left corner of the viewport, and there should be no crash or assertion failure.</p> | |
<div style="position:relative;"> | |
<div id="elm" style="transform:rotate(3deg); position:absolute;"> | |
<div id="child" style="position:fixed; bottom:0;">PASS</div> | |
</div> | |
</div> | |
<script> | |
document.body.offsetTop; | |
document.getElementById("elm").style.transform = "none"; | |
document.body.offsetTop; | |
document.getElementById("child").style.width = "50%"; | |
</script> |