gecko-dev/editor/libeditor/crashtests/1446451.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 строки
451 B
HTML
Исходник Обычный вид История

<script>
function onLoad() {
// For emulating the traditional behavior, collapse Selection to end of the
// text node in the <dialog> which is the deepest last child of the <body>.
const dialog = document.querySelector("dialog");
getSelection().collapse(dialog.lastChild, dialog.lastChild.length);
document.execCommand("insertImage", false, "o")
}
</script>
<body onload="onLoad()">
<meter contenteditable>
<dialog>
</dialog></meter></body>