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

Side by Side Diff: LayoutTests/svg/animations/additive-from-to-fill-animation.html

Issue 183973023: Always reset the animated property for CSS-type SVG animation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/svg/animations/additive-from-to-fill-animation-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
4 <rect width="100" height="100" color="green" fill="black">
5 <animate attributeName="fill" from="currentColor" to="currentColor" begin="0 s" dur="0.01s" fill="freeze" additive="sum" onend="checkResult()"/>
6 </rect>
7 </svg>
8 <script>
9 var jsTestIsAsync = true;
10
11 function checkResult() {
12 shouldBe("getComputedStyle(document.querySelector('rect')).fill", "'rgb(0, 128 , 0)'");
13 finishJSTest();
14 }
15 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/animations/additive-from-to-fill-animation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698