summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/smil-transitions-interaction-3a.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/smil/smil-transitions-interaction-3a.svg')
-rw-r--r--layout/reftests/svg/smil/smil-transitions-interaction-3a.svg14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/svg/smil/smil-transitions-interaction-3a.svg b/layout/reftests/svg/smil/smil-transitions-interaction-3a.svg
new file mode 100644
index 000000000..b820b4ff3
--- /dev/null
+++ b/layout/reftests/svg/smil/smil-transitions-interaction-3a.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="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%"
+ style="fill: lime; -moz-transition: 200s fill">
+ <set attributeName="fill" to="red" begin="1s" dur="1s"/>
+ </rect>
+</svg>