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

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

Issue 1419733009: Web Animations: Add SVGNumberListInterpolationType (Closed) Base URL: ssh://pony.syd/usr/local/google/home/alancutter/repos/chromium/src@_svgRectInterpolationType
Patch Set: Fix responsive test derp Created 5 years, 1 month 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-tableValues-responsive.html
diff --git a/third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-tableValues-responsive.html b/third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-tableValues-responsive.html
new file mode 100644
index 0000000000000000000000000000000000000000..7d217d62454ae711d00223ccbcf9f481d6427d74
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/animations/svg-attribute-responsive/svg-tableValues-responsive.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<script src="../responsive/resources/responsive-test.js"></script>
+<script>
+assertSVGResponsive({
+ targetTag: 'feFuncG',
+ property: 'tableValues',
+ getter(target) {
+ return Array.from(target.tableValues.animVal).map(number => number.value).join(', ');
+ },
+ from: neutralKeyframe,
+ to: '10, 20',
+ configurations: [{
+ state: {underlying: '50, 60'},
+ expect: [
+ {at: 0.25, is: '40, 50'},
+ {at: 0.75, is: '20, 30'},
+ ],
+ }, {
+ state: {underlying: '50, 60, 80'},
+ expect: [
+ {at: 0.25, is: '50, 60, 80'},
+ {at: 0.75, is: '10, 20'},
+ ],
+ }],
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698