summaryrefslogtreecommitdiffstats
path: root/dom/xbl/crashtests/342954-2.xhtml
blob: 4a250e31c2c75f1c67bb614205556790593c2dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
<![CDATA[

function boo()
{
  s1 = document.getElementById("s1");  
  marq = document.getElementById("marq");
  marqAnonymousSomething = document.getAnonymousNodes(marq)[0].childNodes[0];

  removeNode(marqAnonymousSomething);
  s1.appendChild(document.createElement("div"));
}

function removeNode(q1) { q1.parentNode.removeChild(q1); }

]]>
</script>
</head>

<body onload="boo()">

<span id="s1">Span</span>

<div id="marq" style="-moz-binding: url('342954-2-xbl.xml#marquee-horizontal-10');">Marquee</div>

</body>
</html>