summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/suspend-01.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/svg/suspend-01.svg14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/svg/suspend-01.svg b/layout/reftests/svg/suspend-01.svg
new file mode 100644
index 0000000000..fa681fbe60
--- /dev/null
+++ b/layout/reftests/svg/suspend-01.svg
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/licenses/publicdomain/
+-->
+<svg xmlns="http://www.w3.org/2000/svg">
+ <title>Test that suspendRedraw doesn't apply after the end of a script</title>
+ <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=734079 -->
+
+ <rect width="100%" height="100%" fill="lime"/>
+ <script>
+ document.documentElement.suspendRedraw(10000);
+ </script>
+</svg>