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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/responsive/fill-responsive.html

Issue 1363233003: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix interpolation tests Created 5 years, 2 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="resources/responsive-test.js"></script> 2 <script src="resources/responsive-test.js"></script>
3 <script> 3 <script>
4 assertResponsive({ 4 assertResponsive({
5 property: 'fill', 5 property: 'fill',
6 from: 'inherit', 6 from: 'inherit',
7 to: 'green', 7 to: 'green',
8 configurations: [{ 8 configurations: [{
9 state: {inherited: 'blue'}, 9 state: {inherited: 'blue'},
10 expect: [ 10 expect: [
11 {at: 0.25, is: 'rgb(0, 32, 191)'}, 11 {at: 0.25, is: 'rgb(0, 32, 191)'},
12 {at: 0.75, is: 'rgb(0, 96, 64)'}, 12 {at: 0.75, is: 'rgb(0, 96, 64)'},
13 ], 13 ],
14 }, { 14 }, {
15 state: {inherited: 'yellow'}, 15 state: {inherited: 'yellow'},
16 expect: [ 16 expect: [
17 {at: 0.25, is: 'rgb(191, 223, 0)'}, 17 {at: 0.25, is: 'rgb(191, 223, 0)'},
18 {at: 0.75, is: 'rgb(64, 160, 0)'}, 18 {at: 0.75, is: 'rgb(64, 160, 0)'},
19 ], 19 ],
20 }, { 20 }, {
21 state: {inherited: 'url(a)'}, 21 state: {inherited: 'url(a)'},
22 expect: [ 22 expect: [
23 {at: 0.25, is: 'url(a)'}, 23 {at: 0.25, is: 'url("a")'},
24 {at: 0.75, is: 'rgb(0, 128, 0)'}, 24 {at: 0.75, is: 'rgb(0, 128, 0)'},
25 ], 25 ],
26 }], 26 }],
27 }); 27 });
28 </script> 28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698