Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/normal-flow/crashtests/block-in-inline-remove-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Test: Re-layout after removing block-in-inline element</title>
<br>
<nobr>
<ol id="target"></ol>
</nobr>
<script>
document.body.offsetHeight;
const target = document.getElementById('target');
target.remove();
document.body.offsetHeight;
</script>