Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-view-transitions/remove-root-element-firefox-bug-1982469-crash.html - WPT Dashboard Interop Dashboard
<script>
let a;
const func_01 = function(arg) {
try { arg.currentTarget.replaceChild(a, arg.currentTarget.childNodes[0]) } catch (e) {}
}
window.addEventListener("DOMContentLoaded", () => {
a = document.createElement("style")
document.documentElement.getBoundingClientRect();
document.addEventListener("readystatechange", func_01, {})
document.startViewTransition(func_01)
})
</script>