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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/css-animation-affects-use-elements.html

Issue 2251073002: CSS: SVG use elements replicate updates to style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/css-animation-affects-use-elements-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/run-after-layout-and-paint.js"></script>
2 <svg> 3 <svg>
3 <defs> 4 <defs>
4 <rect x="0" y="0" width="100" height="40" id="target" fill="green" /> 5 <rect x="0" y="0" width="100" height="40" id="target" fill="green" />
5 <rect x="100" y="0" width="100" height="40" id="expected" fill="red" /> 6 <rect x="100" y="0" width="100" height="40" id="expected" fill="red" />
6 <use xlink:href="#target" id="use"/> 7 <use xlink:href="#target" id="use"/>
7 </defs> 8 </defs>
8 9
9 <use y="50" xlink:href="#expected"/> 10 <use y="50" xlink:href="#expected"/>
10 <use y="100" xlink:href="#expected"/> 11 <use y="100" xlink:href="#expected"/>
11 12
12 <use y="50" xlink:href="#target"/> 13 <use y="50" xlink:href="#target"/>
13 <use y="100" xlink:href="#use"/> 14 <use y="100" xlink:href="#use"/>
14 </svg> 15 </svg>
15 <script> 16 <script>
16 target.animate([{'svg-x': '100'}, {'svg-x': '100'}], {fill: 'forwards'}); 17 runAfterLayoutAndPaint(function() {
18 target.animate([{'x': '100px'}, {'x': '100px'}], {fill: 'forwards'});
19 }, true);
17 </script> 20 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/css-animation-affects-use-elements-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698