Adding crashtests.

This commit is contained in:
bzbarsky@mit.edu 2008-01-27 21:35:46 -08:00
parent 11c4dc56b6
commit 9bcea294cd
4 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,46 @@
<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>

View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<bindings id="marqueeBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="marquee-horizontal-10">
<content>
<html:div>
<children/>
</html:div>
</content>
</binding>
</bindings>

View File

@ -0,0 +1,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>

View File

@ -2,3 +2,5 @@ load 368276-1.xhtml
load 368641-1.xhtml
load 382376-1.xhtml
load 382376-2.xhtml
load 342954-1.xhtml
load 342954-2.xhtml