summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/822723.html
blob: e057d5b61f2ae025883bb1548dfd757491e3d28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
  var outer = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
  outer.setAttribute("dir", "auto");
  var inner = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
  inner.appendChild(document.createTextNode("A"));
  inner.appendChild(document.createTextNode("B"));
  outer.appendChild(inner);
  inner.setAttribute("dir", "ltr");
}

</script>
</head>
<body onload="boom();"></body>
</html>