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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/repaint/color-fill-currentColor-and-css.html

Issue 1455153003: Fix animation of 'color' w/ currentColor for SVG 'fill' and 'stroke' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/repaint/color-fill-currentColor-and-css-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="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script src="../../resources/run-after-layout-and-paint.js"></script>
4 <script>
5 window.testIsAsync = true;
6 window.onload = runRepaintTest;
7
8 function repaintTest() {
9 var circle = document.getElementsByTagName("circle")[0];
10 ani = circle.animate([{ color: "blue" }, { color: "cyan"}], { duration: 2000, iterations: 1});
11 setTimeout(function() {
12 ani.currentTime = 1000;
13 ani.pause();
14 runAfterLayoutAndPaint(finishRepaintTest);
15 }, 0);
16 }
17 </script>
18 <style>
19 circle {
20 fill: currentColor;
21 color: blue;
22 }
23 </style>
24 <body>
25 <svg xmlns="http://www.w3.org/2000/svg" width=90 height=90>
26 <circle r="40" cx="40" cy="40" />
27 </svg>
28 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/repaint/color-fill-currentColor-and-css-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698