<!DOCTYPE html> | |
<script src="../../../resources/js-test.js"></script> | |
<style> | |
.float { | |
float: right; | |
width: 100px; | |
height: 100px; | |
} | |
</style> | |
<div> | |
<div></div> | |
<span></span> | |
<div class="float"></div> | |
<div id="block-flow-container"> | |
<div></div> | |
</div> | |
</div> | |
<script> | |
document.body.offsetTop; | |
document.getElementById("block-flow-container").style.position = 'absolute'; | |
testPassed("crbug.com/562208: Clear intruding floats when moving child to inline parent. Passes if it doesn't crash."); | |
</script> |