summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/420785-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/420785-1.xhtml')
-rw-r--r--layout/generic/crashtests/420785-1.xhtml26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/generic/crashtests/420785-1.xhtml b/layout/generic/crashtests/420785-1.xhtml
new file mode 100644
index 000000000..3d2d985e2
--- /dev/null
+++ b/layout/generic/crashtests/420785-1.xhtml
@@ -0,0 +1,26 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+
+<bindings xmlns="http://www.mozilla.org/xbl" xmlns:html="http://www.w3.org/1999/xhtml">
+ <binding id="foo">
+ <content><html:span>a b<children xmlns="http://www.mozilla.org/xbl"/></html:span></content>
+ </binding>
+</bindings>
+
+<script type="text/javascript">
+
+function boom()
+{
+ var cap = document.getElementById("cap");
+ var lsep = document.createTextNode("\u2028"); // U+2028 LINE SEPARATOR
+ cap.insertBefore(lsep, cap.firstChild);
+}
+
+</script>
+
+</head>
+
+<body onload="boom();"><caption id="cap" style="-moz-binding: url('#foo');"> </caption></body>
+
+</html>