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

Unified Diff: third_party/WebKit/LayoutTests/animations/interpolation/offset-anchor-interpolation.html

Issue 2527303002: CSS Motion Path: offset-anchor should default to auto (Closed)
Patch Set: comments Created 4 years 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/css3/motion-path/offset-anchor.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/interpolation/offset-anchor-interpolation.html
diff --git a/third_party/WebKit/LayoutTests/animations/interpolation/offset-anchor-interpolation.html b/third_party/WebKit/LayoutTests/animations/interpolation/offset-anchor-interpolation.html
index eb935dabacb63bfe20ff32721f6ec496ae3a8738..b7ccb3bc18c97b3b9171f88fd5c07843d6a9b462 100644
--- a/third_party/WebKit/LayoutTests/animations/interpolation/offset-anchor-interpolation.html
+++ b/third_party/WebKit/LayoutTests/animations/interpolation/offset-anchor-interpolation.html
@@ -27,18 +27,11 @@ assertInterpolation({
{at: 1.5, is: '25px 15px'},
]);
-assertInterpolation({
+assertNoInterpolation({
property: 'offset-anchor',
from: 'initial',
to: '60% 40%',
-}, [
- {at: -0.3, is: '47% 53%'},
- {at: 0, is: '50% 50%'},
- {at: 0.3, is: '53% 47%'},
- {at: 0.6, is: '56% 44%'},
- {at: 1, is: '60% 40%'},
- {at: 1.5, is: '65% 35%'},
-]);
+});
assertInterpolation({
property: 'offset-anchor',
@@ -53,18 +46,11 @@ assertInterpolation({
{at: 1.5, is: '15px 25px'},
]);
-assertInterpolation({
- property: 'offset-anchor',
+assertNoInterpolation({
+ property: 'offset-position',
from: 'unset',
to: '50% 10px',
-}, [
- {at: -0.3, is: '50% calc(-3px + 65%)'},
- {at: 0, is: '50% 50%'},
- {at: 0.3, is: '50% calc(3px + 35%)'},
- {at: 0.6, is: '50% calc(6px + 20%)'},
- {at: 1, is: '50% 10px'},
- {at: 1.5, is: '50% calc(15px - 25%)'},
-]);
+});
assertInterpolation({
property: 'offset-anchor',
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/motion-path/offset-anchor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698