summaryrefslogtreecommitdiff
path: root/layout/generic/crashtests/580504-1.xhtml
blob: 0447edd20a722f9168246e43343e8de79f29a23e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html xmlns="http://www.w3.org/1999/xhtml" style="-moz-column-width: 1px">
<head>

<script>
<![CDATA[

function boom()
{
  document.getElementById("d").focus();
  document.execCommand("inserthtml", false, "<i><font><html><form>a</form></font>");
  document.execCommand("justifyright", false, "#ffddff");
}

window.addEventListener("load", boom, false);

]]>
</script>

</head>

<div style="position: relative;"><div style="float: left; padding: 10px 20px 0pt;"><div contenteditable="true" style="position: absolute;" id="d"></div></div><div style="clear: both; padding: 20px 20px 15px;"></div></div>
</html>