summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/483120-2.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/tests/crashtests/483120-2.xhtml')
-rw-r--r--gfx/tests/crashtests/483120-2.xhtml22
1 files changed, 22 insertions, 0 deletions
diff --git a/gfx/tests/crashtests/483120-2.xhtml b/gfx/tests/crashtests/483120-2.xhtml
new file mode 100644
index 000000000..a9e67fe70
--- /dev/null
+++ b/gfx/tests/crashtests/483120-2.xhtml
@@ -0,0 +1,22 @@
+<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: monospace;">
+<head>
+
+<bindings xmlns="http://www.mozilla.org/xbl">
+ <binding id="w"><content><div xmlns="http://www.w3.org/1999/xhtml"><children xmlns="http://www.mozilla.org/xbl"/></div></content></binding>
+ <binding id="empty"><content/></binding>
+</bindings>
+
+<script type="text/javascript">
+
+function boom()
+{
+ document.getElementById("d").previousSibling.data += "C";
+ document.getElementById("d").style.MozBinding = "url('#empty')";
+}
+
+</script>
+
+</head>
+
+<body onload="boom();"><span>A&#x202E;<span style="-moz-binding: url('#w');"></span>B<span id="d" style="font-size: 80%; color: green;">D</span></span></body>
+</html>