Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /dom/nodes/moveBefore/tentative/input-moveBefore-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<body>
<input id="input">
<script>
window.onload = () => {
document.body.moveBefore(document.querySelector("#input"), null);
};
</script>