Re: [csswg-drafts] [css-color-4] The color() function <ident> doesn't seem to be future proof (#4654)

This is a very good point. I agree with your concern. 

There were similar issues with the font property, which were solved by requiring any clashes to be quoted (you can reference a font that is actually called "serif", but `serif` without quotes is the generic font family. And that helped when we extended the generic font families in Fonts 4.

In this case, maybe it makes sense for the predefined ones to be unquoted and for the user-supplied ones to always be quoted? @tabatkins what do you think?

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

Received on Wednesday, 8 January 2020 22:14:09 UTC