Re: [csswg-drafts] [css-color-3] opacity should use <<number>> not <<alphavalue>> “which is syntactically a <<number>>” (#3139)

Agreed; I think it's useful to leave it as a production to ensure consistency.

Animation isn't an issue; animations drill down to the base values of any production to figure out how to animate if needed.

Note, tho, that you can't animate between `number` and `percentage` naively, because they can't be combined in `calc()`. We should probably specially define this to allow animation with them, since they're equivalent - either converting both to a number or both to a percentage. We can reuse the language from <https://drafts.csswg.org/css-values/#combine-numbers> et al.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3139#issuecomment-690472422 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 10 September 2020 16:37:19 UTC