Re: [csswg-drafts] [css-fonts] Should font-palette: normal look at the color-scheme property? (#7783)

So currently we have

> **normal**
>    User-Agents display the color font with the default palette or default glyph colorisation. User-agents should take the computed value of the `color` property into consideration when a color font format requires use of the foreground color 

Which explicitly selects the default palette, and only uses the value of `color` to affect a specific palette entry. Would something like this work?

> **normal**
>    If the [`color-scheme`](https://drafts.csswg.org/css-color-adjust-1/#color-scheme-prop) property is set to a value other than `normal`, user-agents should select the first light or dark palette as appropriate. Otherwise, user-agents display the color font with the default palette or default glyph colorisation. 

> User-agents should take the computed value of the color property into consideration when a color font format requires use of the foreground color 

It isn't clear to me exactly how `<custom-ident>` should be handled.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 1 November 2022 16:45:24 UTC