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

Side by Side Diff: LayoutTests/svg/animations/script-tests/svg-animation-policy.js

Issue 802143002: AnimationPolicy setting is applied to SVG animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 embedSVGTestCase("resources/animation-policy.svg");
2
3 function executeTest() {
4 rect = rootSVGElement.ownerDocument.getElementsByTagName("rect")[0];
5
6 const expectedValues = [
7 // [animationId, time, sampleCallback]
8 ["animation", 0.0, sample1],
9 ["animation", 1.0, sample2],
10 ["animation", 1.999, sample3],
11 ["animation", 2.0, sample4],
12 ["animation", 3.1, sample5],
13 ["animation", 3.999, sample6]
14 ];
15
16 runAnimationTest(expectedValues);
17 }
18
19 window.animationStartsImmediately = true;
20 var successfullyParsed = true;
OLDNEW
« no previous file with comments | « LayoutTests/svg/animations/resources/animation-policy.svg ('k') | LayoutTests/svg/animations/svg-animation-policy-none.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698