summaryrefslogtreecommitdiff
path: root/layout/base/crashtests/497519-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/497519-1.xhtml')
-rw-r--r--layout/base/crashtests/497519-1.xhtml28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/base/crashtests/497519-1.xhtml b/layout/base/crashtests/497519-1.xhtml
new file mode 100644
index 0000000000..ee4130053d
--- /dev/null
+++ b/layout/base/crashtests/497519-1.xhtml
@@ -0,0 +1,28 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+
+<xbl:bindings xmlns:xbl="http://www.mozilla.org/xbl">
+<xbl:binding id="foo"><xbl:content><div style="position:relative;"><xbl:children/></div></xbl:content></xbl:binding>
+</xbl:bindings>
+
+<script>
+<![CDATA[
+function test() {
+ document.getElementById("span").innerHTML = "<table><tr><td></td></tr></table>";
+}
+]]>
+</script>
+
+</head>
+
+<body onload="test();">
+
+<div style="-moz-binding: url(#foo)">
+
+ <div style="display:none">text</div>
+ <span id="span">text</span>
+
+</div>
+
+</body>
+</html>