W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 10 Sep 2020 16:37:17 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-690472422-1599755836-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:16 UTC