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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/responsive/interpolation/svg-tableValues-responsive.html

Issue 2973013002: Group all responsive animation tests together (Closed)
Patch Set: Rebase 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../responsive/resources/responsive-test.js"></script> 2 <script src="resources/responsive-test.js"></script>
3 <script> 3 <script>
4 assertSVGResponsive({ 4 assertSVGResponsive({
5 targetTag: 'feFuncG', 5 targetTag: 'feFuncG',
6 property: 'tableValues', 6 property: 'tableValues',
7 getter(target) { 7 getter(target) {
8 return Array.from(target.tableValues.animVal).map(number => number.value).jo in(', '); 8 return Array.from(target.tableValues.animVal).map(number => number.value).jo in(', ');
9 }, 9 },
10 from: neutralKeyframe, 10 from: neutralKeyframe,
11 to: '10, 20', 11 to: '10, 20',
12 configurations: [{ 12 configurations: [{
13 state: {underlying: '50, 60'}, 13 state: {underlying: '50, 60'},
14 expect: [ 14 expect: [
15 {at: 0.25, is: '40, 50'}, 15 {at: 0.25, is: '40, 50'},
16 {at: 0.75, is: '20, 30'}, 16 {at: 0.75, is: '20, 30'},
17 ], 17 ],
18 }, { 18 }, {
19 state: {underlying: '50, 60, 80'}, 19 state: {underlying: '50, 60, 80'},
20 expect: [ 20 expect: [
21 {at: 0.25, is: '50, 60, 80'}, 21 {at: 0.25, is: '50, 60, 80'},
22 {at: 0.75, is: '10, 20'}, 22 {at: 0.75, is: '10, 20'},
23 ], 23 ],
24 }], 24 }],
25 }); 25 });
26 </script> 26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698