summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/842909-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/svg/crashtests/842909-1.svg')
-rw-r--r--layout/svg/crashtests/842909-1.svg11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/svg/crashtests/842909-1.svg b/layout/svg/crashtests/842909-1.svg
new file mode 100644
index 000000000..9a1bc89eb
--- /dev/null
+++ b/layout/svg/crashtests/842909-1.svg
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <text id="t">X</text>
+ </defs>
+
+ <script>
+ window.addEventListener("load", function() {
+ document.getElementById("t").getSubStringLength(0, 0);
+ }, false);
+ </script>
+</svg>