 Chromium Code Reviews
 Chromium Code Reviews Issue 802143002:
  AnimationPolicy setting is applied to SVG animation.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 802143002:
  AnimationPolicy setting is applied to SVG animation.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| Index: LayoutTests/svg/animations/script-tests/svg-animation-policy.js | 
| diff --git a/LayoutTests/svg/animations/script-tests/svg-animation-policy.js b/LayoutTests/svg/animations/script-tests/svg-animation-policy.js | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..7a9d2a15d5c75b65dc7881cf6d251c7c89120990 | 
| --- /dev/null | 
| +++ b/LayoutTests/svg/animations/script-tests/svg-animation-policy.js | 
| @@ -0,0 +1,20 @@ | 
| +embedSVGTestCase("resources/animation-policy.svg"); | 
| + | 
| +function executeTest() { | 
| + rect = rootSVGElement.ownerDocument.getElementsByTagName("rect")[0]; | 
| + | 
| + const expectedValues = [ | 
| + // [animationId, time, sampleCallback] | 
| + ["an1", 0.0, sample1], | 
| 
fs
2014/12/25 17:32:07
I don't remember the details of this "framework",
 
je_julie(Not used)
2014/12/27 07:08:53
I changed it to animation.
 | 
| + ["an1", 1.0, sample2], | 
| + ["an1", 1.999, sample3], | 
| + ["an1", 2.0, sample4], | 
| + ["an1", 3.1, sample5], | 
| + ["an1", 3.999, sample6] | 
| + ]; | 
| + | 
| + runAnimationTest(expectedValues); | 
| +} | 
| + | 
| +window.animationStartsImmediately = true; | 
| +var successfullyParsed = true; |