summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/348049-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/348049-1.xhtml')
-rw-r--r--dom/base/crashtests/348049-1.xhtml40
1 files changed, 40 insertions, 0 deletions
diff --git a/dom/base/crashtests/348049-1.xhtml b/dom/base/crashtests/348049-1.xhtml
new file mode 100644
index 000000000..d8f5790d2
--- /dev/null
+++ b/dom/base/crashtests/348049-1.xhtml
@@ -0,0 +1,40 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait">
+<head>
+
+<bindings xmlns="http://www.mozilla.org/xbl">
+
+<binding id="td">
+ <content>
+ <html:td><children/></html:td>
+ </content>
+</binding>
+
+<binding id="foo">
+ <content>
+ <html:span/>
+ </content>
+</binding>
+
+</bindings>
+
+
+<script>
+function f1()
+{
+ document.getElementById("inner").style.MozBinding = "url(#foo)";
+ document.documentElement.removeAttribute("class");
+}
+</script>
+
+</head>
+
+
+<body onload="setTimeout(f1, 30);">
+
+
+<div id="outer" style="-moz-binding: url(#td)"><div id="inner">M</div></div>
+
+
+</body>
+
+</html>