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

Unified Diff: third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html

Issue 2027933002: Allow transitions on background-size with positionally matched keywords (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inline is required Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html
diff --git a/third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html b/third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html
index b6a1cd940bc1d73e33936680cc5312b04aae0fb3..21b01cf0c8e20df350fe51a572244f565c5548db 100644
--- a/third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html
+++ b/third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html
@@ -72,11 +72,19 @@ assertNoInterpolation({
});
// Matched keywords in size value list.
-assertNoInterpolation({
+assertInterpolation({
property: 'background-size',
from: '0px 0px, 0px 0px, contain, cover',
to: '40px 40px, 40px 40px, contain, cover',
-});
+}, [
+ {at: -0.25, is: ' 0px 0px, 0px 0px, contain, cover'},
+ {at: 0, is: ' 0px 0px, 0px 0px, contain, cover'},
+ {at: 0.25, is: '10px 10px, 10px 10px, contain, cover'},
+ {at: 0.5, is: '20px 20px, 20px 20px, contain, cover'},
+ {at: 0.75, is: '30px 30px, 30px 30px, contain, cover'},
+ {at: 1, is: '40px 40px, 40px 40px, contain, cover'},
+ {at: 1.25, is: '50px 50px, 50px 50px, contain, cover'},
+]);
// Mismatched keywords in size value list.
assertNoInterpolation({
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698