W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2016

Re: [csswg-drafts] [css-color] What to do if there's no valid fallback?

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Jul 2016 07:20:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-235818959-1469690450-sysbot+gh@w3.org>
I believe @frivoal is right, `currentcolor` would be the desired 
fallback for foreground properties like `color` and `border-color`, 
but `transparent` would be more appropriate for `background-color` 
etc. Using `black` (or `white` or `transparent`) everywhere would be 
harmful in more cases. What you really want is something like partial 
`inherit` or `default`.

-- 
GitHub Notification of comment by Crissov
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/349#issuecomment-235818959 
using your GitHub account
Received on Thursday, 28 July 2016 07:21:00 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:00 UTC