summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/min-1.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/svg/smil/min-1.svg24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/svg/smil/min-1.svg b/layout/reftests/svg/smil/min-1.svg
new file mode 100644
index 0000000000..6ba576d452
--- /dev/null
+++ b/layout/reftests/svg/smil/min-1.svg
@@ -0,0 +1,24 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ class="reftest-wait"
+ onload="setTimeAndSnapshot(115, true)">
+ <script xlink:href="smil-util.js" type="text/javascript"/>
+ <!-- Test min behavior
+
+ Set up is as follows:
+ 1. There is a rectangle with a lime fill.
+ 2. A <set> animation (with default fill="none") sets the fill to
+ orange at t=100s.
+ It has a simple duration of 10s and a min duration of 20s.
+ 3. A further <set> animation sets the fill to red when the first
+ animation finishes (using syncbase timing).
+
+ At time t=115s we should still be in the first animation's active
+ interval with its fill mode of 'none' applied which should mean the
+ original lime fill is used. -->
+ <rect width="100%" height="100%" fill="lime">
+ <set attributeName="fill" to="orange" dur="10s" min="20s" begin="100s"
+ id="a"/>
+ <set attributeName="fill" to="red" begin="a.end"/>
+ </rect>
+</svg>