-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-values-4] mix() can not represent retargeted transitions #9341
Comments
I think that these functions which accept a list of values and behave as one of them should allow the individual values to be things that would normally require to be the sole value. |
Yes, I haven't gotten around to specifying this correctly, but it really should be written as something like |
Okay, defined |
@tabatkins You forgot to replace some csswg-drafts/css-values-5/Overview.bs Line 419 in 46b0c7d
csswg-drafts/css-values-5/Overview.bs Line 420 in 46b0c7d
csswg-drafts/css-values-5/Overview.bs Line 430 in 46b0c7d
csswg-drafts/css-values-5/Overview.bs Line 441 in 46b0c7d
|
Ah thanks, fixed. |
Say you are transitioning from A to B, and then in the middle of that transition, you retarget to C. If the interpolated values can only be represented with
mix()
, then we'd havemix(mix(A; B; x%); C; y%)
, which isn't valid.Can we drop the weird "must be the sole value" and actually give
mix()
a type?Note: See w3c/css-houdini-drafts#425 for a real example of something that can be transitioned, but not represented.
The text was updated successfully, but these errors were encountered: