summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/849688-2.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/svg/crashtests/849688-2.svg')
-rw-r--r--layout/svg/crashtests/849688-2.svg11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/svg/crashtests/849688-2.svg b/layout/svg/crashtests/849688-2.svg
new file mode 100644
index 0000000000..4b71b20c7c
--- /dev/null
+++ b/layout/svg/crashtests/849688-2.svg
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+
+<text>X</text>
+
+<script>
+window.addEventListener("load", function() {
+ document.getElementsByTagName('text')[0].getStartPositionOfChar(2);
+}, false);
+</script>
+
+</svg>