content/xbl/crashtests/342954-1.xhtml
author Jeff Muizelaar <jmuizelaar@mozilla.com>
Thu, 08 Apr 2010 09:44:46 -0400
changeset 40591 5b8f688d42442e06a609ceeec80a1b0f84d1001c
parent 10813 240ce065de9a9e2f4005ed7edfa26b23ecaee1a8
permissions -rw-r--r--
Merge backout

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xbl="http://www.mozilla.org/xbl">


<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>

<xbl:bindings id="marqueeBindings">
  <xbl:binding id="marquee-horizontal-12">
    <xbl:content>
      <div>
        <xbl:children/>
      </div>
    </xbl:content>
  </xbl:binding>
</xbl:bindings>

</head>


<body onload="boo()">

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

<div id="marq" style="-moz-binding: url('#marquee-horizontal-12');">Marquee</div>

</body>


</html>