summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/483120-1.xhtml
blob: 4a15e725b953f5cb6d0702d30ca56c390a02f092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: monospace;">
<head>

<bindings xmlns="http://www.mozilla.org/xbl">
  <binding id="w"><content><div xmlns="http://www.w3.org/1999/xhtml"><children xmlns="http://www.mozilla.org/xbl"/></div></content></binding>
  <binding id="empty"><content/></binding>
</bindings>

<script type="text/javascript">

function boom()
{
  document.createElementNS("http://www.w3.org/2000/svg", "rect");
  document.getElementById("d").previousSibling.data += "C";
  document.getElementById("d").style.MozBinding = "url('#empty')";
}

</script>

</head>

<body onload="boom();"><span>A&#x202E;<span style="-moz-binding: url('#w');"></span>B<span id="d" style="font-size: 80%; color: green;">D</span></span></body>
</html>