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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/responsive/border-image-source-responsive.html

Issue 1450123003: Add SVG animation support to responsive-test.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_responsiveNeutralValueFormat
Patch Set: Review changes 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/responsive-test.js"></script> 2 <script src="resources/responsive-test.js"></script>
3 <script> 3 <script>
4 assertResponsive({ 4 assertCSSResponsive({
5 property: 'border-image-source', 5 property: 'border-image-source',
6 from: 'inherit', 6 from: 'inherit',
7 to: 'url("test://to")', 7 to: 'url("test://to")',
8 configurations: [{ 8 configurations: [{
9 state: {inherited: 'url("test://a")'}, 9 state: {inherited: 'url("test://a")'},
10 expect: [ 10 expect: [
11 {at: 0.25, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.25 )'}, 11 {at: 0.25, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.25 )'},
12 {at: 0.75, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.75 )'}, 12 {at: 0.75, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.75 )'},
13 ], 13 ],
14 }, { 14 }, {
15 state: {inherited: 'url("test://b")'}, 15 state: {inherited: 'url("test://b")'},
16 expect: [ 16 expect: [
17 {at: 0.25, is: '-webkit-cross-fade(url("test://b"), url("test://to"), 0.25 )'}, 17 {at: 0.25, is: '-webkit-cross-fade(url("test://b"), url("test://to"), 0.25 )'},
18 {at: 0.75, is: '-webkit-cross-fade(url("test://b"), url("test://to"), 0.75 )'}, 18 {at: 0.75, is: '-webkit-cross-fade(url("test://b"), url("test://to"), 0.75 )'},
19 ], 19 ],
20 }, { 20 }, {
21 state: {inherited: 'none'}, 21 state: {inherited: 'none'},
22 expect: [ 22 expect: [
23 {at: 0.25, is: 'none'}, 23 {at: 0.25, is: 'none'},
24 {at: 0.75, is: 'url("test://to")'}, 24 {at: 0.75, is: 'url("test://to")'},
25 ], 25 ],
26 }], 26 }],
27 }); 27 });
28 28
29 assertResponsive({ 29 assertCSSResponsive({
30 property: 'border-image-source', 30 property: 'border-image-source',
31 to: 'url("test://to")', 31 to: 'url("test://to")',
32 configurations: [{ 32 configurations: [{
33 state: {underlying: 'url("test://a")'}, 33 state: {underlying: 'url("test://a")'},
34 expect: [ 34 expect: [
35 {at: 0.25, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.25 )'}, 35 {at: 0.25, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.25 )'},
36 {at: 0.75, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.75 )'}, 36 {at: 0.75, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.75 )'},
37 ], 37 ],
38 }, { 38 }, {
39 state: {underlying: 'url("test://b")'}, 39 state: {underlying: 'url("test://b")'},
40 expect: [ 40 expect: [
41 {at: 0.25, is: '-webkit-cross-fade(url("test://b"), url("test://to"), 0.25 )'}, 41 {at: 0.25, is: '-webkit-cross-fade(url("test://b"), url("test://to"), 0.25 )'},
42 {at: 0.75, is: '-webkit-cross-fade(url("test://b"), url("test://to"), 0.75 )'}, 42 {at: 0.75, is: '-webkit-cross-fade(url("test://b"), url("test://to"), 0.75 )'},
43 ], 43 ],
44 }, { 44 }, {
45 state: {underlying: 'none'}, 45 state: {underlying: 'none'},
46 expect: [ 46 expect: [
47 {at: 0.25, is: 'none'}, 47 {at: 0.25, is: 'none'},
48 {at: 0.75, is: 'url("test://to")'}, 48 {at: 0.75, is: 'url("test://to")'},
49 ], 49 ],
50 }], 50 }],
51 }); 51 });
52 </script> 52 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698