Index: third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-x-list-responsive.html |
diff --git a/third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-x-list-responsive.html b/third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-x-list-responsive.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b5fa27cd08edfeb66eeaa270155e9c1b2b51d484 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-x-list-responsive.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<script src="../responsive/resources/responsive-test.js"></script> |
+<script> |
+assertSVGResponsive({ |
+ targetTag: 'text', |
+ property: 'x', |
+ from: neutralKeyframe, |
+ to: '100 100', |
+ getter(target) { |
+ return Array.from(target.x.animVal).map(length => length.value).join(' '); |
+ }, |
+ configurations: [{ |
+ state: {underlying: '0 0'}, |
+ expect: [ |
+ {at: 0.25, is: '25 25'}, |
+ {at: 0.75, is: '75 75'}, |
+ ], |
+ }, { |
+ state: {underlying: '50'}, |
+ expect: [ |
+ {at: 0.25, is: '50'}, |
+ {at: 0.75, is: '100 100'}, |
+ ], |
+ }], |
+}); |
+</script> |