summaryrefslogtreecommitdiff
path: root/editor/libeditor/crashtests/1134545.html
blob: 4e871804ff042897d309b022a71659e156c817b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<!-- saved from url=(0065)https://bug1134545.bugzilla.mozilla.org/attachment.cgi?id=8566418 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<script>

function boom()
{
    textNode = document.createTextNode(" ");
    x.appendChild(textNode);
    x.setAttribute('contenteditable', "true");
    textNode.remove();
    window.getSelection().selectAllChildren(textNode);
    document.execCommand("increasefontsize", false, null);
}

</script>
</head>
<body onload="boom();">
<div id="x" contenteditable="true"></div>


</body></html>