summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/smil-transitions-interaction-3b.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/smil/smil-transitions-interaction-3b.svg')
-rw-r--r--layout/reftests/svg/smil/smil-transitions-interaction-3b.svg15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/svg/smil/smil-transitions-interaction-3b.svg b/layout/reftests/svg/smil/smil-transitions-interaction-3b.svg
new file mode 100644
index 0000000000..8bc634f53d
--- /dev/null
+++ b/layout/reftests/svg/smil/smil-transitions-interaction-3b.svg
@@ -0,0 +1,15 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ class="reftest-wait"
+ onload="document.documentElement.pauseAnimations();
+ document.documentElement.setCurrentTime(1.0);
+ setTimeAndSnapshot(2.0, false)">
+ <!-- This test checks that we don't trigger a CSS transition when
+ SMIL animation effects are removed. -->
+ <script xlink:href="smil-util.js" type="text/javascript"/>
+ <rect width="100%" height="100%" fill="lime"
+ style="-moz-transition: 200s fill">
+ <set attributeName="fill" attributeType="XML"
+ to="red" begin="1s" dur="1s"/>
+ </rect>
+</svg>