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

Re: [csswg-drafts] [css-color-5] Add `currentBackgroundColor` Variable (#5292)

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Nov 2020 14:29:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-725454625-1605104984-sysbot+gh@w3.org>
> I wasn't suggesting we add all color properties to it, just to go with a syntax that allows us to do so at some point in the future, if we so decide and use cases come up. We don't need to resolve all issues that come with that now which would delay and potentially stall it, but only when and if we decide to extend the syntax.

If there's no possibly viable path to resolve the issues, its potential could just be an illusion, and it's going to become a tech debt in the spec people may regularly question about.

> the declaration can be invalid at computed value time, just like var().

One of the main point I argued above is that for currentcolor-like keywords you can't resolve them at computed value time because of inheritance and interpolation.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 11 November 2020 14:29:46 UTC

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