Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /compat/webkit-box-removing-triggering-anonymous-merge.html - WPT Dashboard Interop Dashboard
<!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>