summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/393746-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/tests/crashtests/393746-1.xhtml')
-rw-r--r--gfx/tests/crashtests/393746-1.xhtml14
1 files changed, 14 insertions, 0 deletions
diff --git a/gfx/tests/crashtests/393746-1.xhtml b/gfx/tests/crashtests/393746-1.xhtml
new file mode 100644
index 0000000000..feba6a3c08
--- /dev/null
+++ b/gfx/tests/crashtests/393746-1.xhtml
@@ -0,0 +1,14 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script>
+function boom()
+{
+ var text = document.createTextNode("t");
+ document.getElementById("foo").appendChild(text);
+}
+</script>
+</head>
+
+<body onload="boom();" dir="rtl"><b id="foo"></b> x </body>
+
+</html>