<!DOCTYPE html> | |
<script src="/resources/testharness.js"></script> | |
<script src="/resources/testharnessreport.js"></script> | |
<div style="display: -webkit-box"> | |
<span><div></div></span> | |
<div id="target"></div> | |
text | |
</div> | |
<script> | |
test(function() { | |
// Force a layout before removing. | |
document.body.offsetTop; | |
document.getElementById('target').remove(); | |
}, '-webkit-box: removal of child'); | |
</script> |