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

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

Issue 2975793004: Move animation svg tests to own subdirectory (Closed)
Patch Set: Created 3 years, 5 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 <!DOCTYPE html>
2 <script src="../resources/run-after-layout-and-paint.js"></script>
3 <svg>
4 <defs>
5 <rect x="0" y="0" width="100" height="40" id="target" fill="green" />
6 <rect x="100" y="0" width="100" height="40" id="expected" fill="red" />
7 <use xlink:href="#target" id="use"/>
8 </defs>
9
10 <use y="50" xlink:href="#expected"/>
11 <use y="100" xlink:href="#expected"/>
12
13 <use y="50" xlink:href="#target"/>
14 <use y="100" xlink:href="#use"/>
15 </svg>
16 <script>
17 runAfterLayoutAndPaint(function() {
18 target.animate([{'x': '100px'}, {'x': '100px'}], {fill: 'forwards'});
19 }, true);
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698