Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-ruby/ruby-dynamic-removal-004-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<script>
let fuzz = () => {
document.body.appendChild(document.createElement("iframe"))
document.getElementById("b").appendChild(document.createElement("plaintext"))
document.documentElement.offsetHeight;
window.frames[0].document.body.appendChild(document.getElementById("a"))
window.frames[0].document.body.appendChild(document.getElementById("c"))
}
</script>
<style>
:last-child {
display: ruby-text-container;
}
</style>
<body onload="fuzz()">
<fieldset id="a"></fieldset>
<ruby id="b">
<ul id="c"></ul>
</ruby>
</body>