Index: third_party/WebKit/LayoutTests/animations/svg-animation-affects-use-elements.html |
diff --git a/third_party/WebKit/LayoutTests/animations/svg-animation-affects-use-elements.html b/third_party/WebKit/LayoutTests/animations/svg-animation-affects-use-elements.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3fcb8adf6d103302e223bab6b3eeb268e8f7a884 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/animations/svg-animation-affects-use-elements.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<svg> |
+ <defs> |
+ <rect x="0" y="0" width="100" height="40" id="target" fill="green" /> |
+ <rect x="100" y="0" width="100" height="40" id="expected" fill="red" /> |
+ <use xlink:href="#target" id="use"/> |
+ </defs> |
+ |
+ <use y="50" xlink:href="#expected"/> |
+ <use y="100" xlink:href="#expected"/> |
+ |
+ <use y="50" xlink:href="#target"/> |
+ <use y="100" xlink:href="#use"/> |
+</svg> |
+<script> |
+target.animate([{'svg-x': '100'}, {'svg-x': '100'}], {fill: 'forwards'}); |
+</script> |