-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-color] Add note for relationship between color property and color glyphs #561
Conversation
Text color (and its opacity) should probably not affect PNGinOTF glyphs ( #352 is somewhat related and I hope to see the issue on a WG agenda soon. |
The specification for COLR and CPAL says that the color values are in sRGB. CSS4 Fonts does, as @Crissov mentions, allow palette selection, and new palettes in CSS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the color glyph uses CPAL then there is a special value for currentColor so this note is not strictly true. Also for SVGinOpenType glyphs, currentColor could be used s the note is incorrect in that case also.
I'd prefer text more like:
Am I referring to things correctly here? I'm just assuming CPAL is an OpenType table. |
I prefer @tabatkins's comment too, because it is more descriptive. |
It is, yes. |
Per discussion in the mailing list.