blob: 361c730b75af974facab86a690b5020fcd5dea52 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<body contenteditable>
<details open>
<p>FAIL</p>
</details>
<script>
var p = document.querySelector("p");
var selection = window.getSelection();
selection.selectAllChildren(p);
document.execCommand("InsertText", false, "PASS");
</script>