summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/496011-1.xhtml
blob: 1fabb4dbeb73fcc70b163cc9781b84f12802d518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
<![CDATA[

function boom()
{
  document.body.setAttribute("contenteditable", "true");
  document.execCommand("selectAll", false, null);
  document.execCommand("inserthtml", false, "<span><div><\/div><\/span>");
  document.execCommand("undo", false, null);
}

]]>
</script>
</head>

<body onload="boom();"><textarea><span/></textarea></body>

</html>