gecko-dev/dom/html/crashtests/564461.xhtml

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

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

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="editable"><content><div contenteditable="true" xmlns="http://www.w3.org/1999/xhtml"></div></content></binding>
</bindings>
<script type="text/javascript">
<![CDATA[
function boom()
{
while (document.documentElement.firstChild) document.documentElement.firstChild.remove();
document.addEventListener("DOMSubtreeModified", function(){});
document.addEventListener("DOMNodeInsertedIntoDocument", function(){});
document.documentElement.appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "body"));
document.body.style.MozBinding = 'url(#editable)';
}
]]>
</script></head>
<body onload="boom();"></body>
</html>