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

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

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

<html>
<head>
<script>
function boom()
{
var fragEl = document.createElement("span");
fragEl.setAttribute("contenteditable", "true");
fragEl.setAttribute("style", "position: absolute;");
var frag = document.createDocumentFragment();
frag.appendChild(fragEl);
window.getSelection().selectAllChildren(fragEl);
}
</script>
</head>
<body contenteditable="true" onload="boom();"></body>
</html>