<div style="width: 5px;"> | |
<img id="makeTaller" style="height: 50px; width: 1px"><img id="removeThis" style="width: 5px; height: 5px;"> | |
<div style="float: left; background-color: green;">foo</div> | |
crbug.com/641334: Passes if it does not assert. | |
</div> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
removeThis.offsetTop; | |
removeThis.parentNode.removeChild(removeThis); | |
makeTaller.style.height = '55px'; | |
</script> |