blob: dc71b19ef4dd9baa0199cc8cb0dd1cd18e9f3a0f [file] [log] [blame]
<!DOCTYPE html>
<p>crbug.com/487775: There should be a green square below (and no assertion failures).</p>
<div>
<div id="firstChild" style="display:inline-block; width:100px;"></div>
<div style="display:inline-block; width:100%; height:100px;"></div>
<div style="float:left; width:100px; height:100px; background:green;"></div>
</div>
<script>
onload = function() {
document.body.offsetTop;
document.getElementById("firstChild").style.width = "101px";
}
</script>