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

Unified Diff: third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-x-list-responsive.html

Issue 1587533002: Add composition support for SVG Web Animation of x, y, dx, dy attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review changes Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698