Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-lists/crashtests/chrome-counter-in-multicol-details-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Crash removing element before counter inside multicol details element</title>
<style>
#counter { counter-reset:counter; }
#counter::after { content: counter(foo); }
</style>
<details style="columns:2;" open>
<span></span>
<div id="removeme"></div>
<span id="counter"></span>
</details>
<script>
document.body.offsetTop;
removeme.parentNode.removeChild(removeme);
</script>