Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /editing/crashtests/make-editable-div-inline-and-set-contenteditable-of-input-to-false.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="test-wait">
<head>
<meta charset="utf-8">
<script>
function boom()
{
document.documentElement.offsetHeight;
document.body.focus();
document.querySelector("div").style.display = "inline";
document.querySelector("input").contentEditable = "false";
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body contenteditable="true" onload="setTimeout(boom, 200);"><div><input></div></body>
</html>