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

Re: [csswg-drafts] [css-color] What happens in colo() if you pass numbers to a named colorspace, or vice versa?

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 Jul 2016 20:39:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-235713376-1469651948-sysbot+gh@w3.org>
I would say  for all these type-error, non-matching cases (also one 
where the colorspace identifier has not been declared in an @profile) 
it goes to the next fallback (rather than be discarded, for example).

It might be an idea to declare that there is an implicit final 
fallback and that the result is transparent black. Or would that 
prevent people doing their own fallback for non-css-4-color UAs, like:

border-color: #357;
border-color: color(whatever they type here);

I think that would be okay.


-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/348#issuecomment-235713376 
using your GitHub account
Received on Wednesday, 27 July 2016 20:39:19 UTC

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