Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(864)

Side by Side Diff: third_party/WebKit/LayoutTests/animations/svg-responsive-to-timing-updates.html

Issue 2973013002: Group all responsive animation tests together (Closed)
Patch Set: Rebase Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <svg>
5 <stop id="target" offset="0"/>
6 </svg>
7 <script>
8 test(() => {
9 var animation = target.animate({'svg-offset': '1'}, 1);
10 assert_equals(target.offset.animVal, 0);
11 animation.currentTime = 0.5;
12 assert_equals(target.offset.animVal, 0.5);
13 animation.currentTime = 0.75;
14 assert_equals(target.offset.animVal, 0.75);
15 animation.cancel();
16 assert_equals(target.offset.animVal, 0);
17 }, 'SVG Web Animations should be responsive to changes in animation timing');
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698