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

Unified Diff: third_party/WebKit/LayoutTests/animations/interpolation/webkit-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
Index: third_party/WebKit/LayoutTests/animations/interpolation/webkit-background-size-interpolation.html
diff --git a/third_party/WebKit/LayoutTests/animations/interpolation/webkit-background-size-interpolation.html b/third_party/WebKit/LayoutTests/animations/interpolation/webkit-background-size-interpolation.html
index c604260b1e092122404b8a7565becaf2cfb82667..4d3ce98a07ed074d9846814a65ba01eb744058c4 100644
--- a/third_party/WebKit/LayoutTests/animations/interpolation/webkit-background-size-interpolation.html
+++ b/third_party/WebKit/LayoutTests/animations/interpolation/webkit-background-size-interpolation.html
@@ -22,11 +22,19 @@
<script src="resources/interpolation-test.js"></script>
<script>
// Matched keywords in size value list.
-assertNoInterpolation({
+assertInterpolation({
property: '-webkit-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({

Powered by Google App Engine
This is Rietveld 408576698