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 21:22:46 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-725668587-1605129765-sysbot+gh@w3.org>
@tabatkins I think `color` and `currentcolor` can serve the same thing in CSS as SVG. For all browsers, color of text comes from `-webkit-text-fill-color` not `color` directly. `color` is already serving as a built-in variable now. But all text-related properties use that as default value so it might not be ideal to be used as the "main color" still...

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5292#issuecomment-725668587 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 21:22:48 UTC

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