summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/803562-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/svg/crashtests/803562-1.svg')
-rw-r--r--layout/svg/crashtests/803562-1.svg18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/svg/crashtests/803562-1.svg b/layout/svg/crashtests/803562-1.svg
new file mode 100644
index 000000000..e6fc91127
--- /dev/null
+++ b/layout/svg/crashtests/803562-1.svg
@@ -0,0 +1,18 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+
+<foreignObject width="500" height="500" style="-moz-appearance: checkbox;">
+ <option xmlns="http://www.w3.org/1999/xhtml"></option>
+</foreignObject>
+
+<script>
+<![CDATA[
+
+window.addEventListener("load", function() {
+ document.getElementsByTagName("option")[0].appendChild(document.createTextNode("Option 1"));
+}, false);
+
+]]>
+</script>
+
+</svg>
+