Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /editing/crashtests/insertlinebreak-in-map-element-editing-host.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<script>
document.addEventListener("DOMContentLoaded", () => {
document.getElementById("id_0").contentEditable = false;
document.querySelector("[contenteditable]").focus();
document.execCommand("insertLineBreak");
})
</script>
<pre>
<ins id="id_0">
<map contenteditable>