Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /editing/crashtests/insertorderedlist-in-focused-inline-editing-host.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="test-wait">
<head>
<script type="text/javascript">
function boom()
{
const inlineEditingHost = document.getElementById("s");
inlineEditingHost.addEventListener("focus", () => {
try {
document.execCommand("insertorderedlist");
} catch(e) { }
document.documentElement.removeAttribute("class");
}, {once: true});
inlineEditingHost.focus();
}
</script>
</head>
<body onload="boom();"><span id="s" contenteditable="true">One<div></div></span><marquee></marquee></body>
</html>