summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/anim-additive-fallback-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/smil/anim-additive-fallback-1.svg')
-rw-r--r--layout/reftests/svg/smil/anim-additive-fallback-1.svg14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/svg/smil/anim-additive-fallback-1.svg b/layout/reftests/svg/smil/anim-additive-fallback-1.svg
new file mode 100644
index 0000000000..1978663e2c
--- /dev/null
+++ b/layout/reftests/svg/smil/anim-additive-fallback-1.svg
@@ -0,0 +1,14 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ class="reftest-wait"
+ onload="setTimeAndSnapshot(0.5, true)">
+ <script xlink:href="smil-util.js" type="text/javascript"/>
+ <rect x="15" y="15" width="200" height="200" fill="blue" display="none">
+ <!-- The following animation is marked as additive even though the display
+ property is not additive. We should basically behave as if the additive
+ attribute were not specified and set display to 'block' after 0.5s.
+ -->
+ <animate attributeName="display" from="none" to="block" additive="sum"
+ dur="1s" fill="freeze"/>
+ </rect>
+</svg>