Re: [csswg-drafts] [css-fonts-4] `font-family` descriptor in `@font-palette-values` ambiguous in number of font-family entries (#6916)

While my [previous comment](https://github.com/w3c/csswg-drafts/issues/6916#issuecomment-1190556132) is not actually relevant, as I had misread the example, I do think that the `font-family` descriptor in `@font-palette-values` *should* be allowed to take a list of family names.

In most cases, font palette overrides will be targeted at one specific font, but I don't think it's much of a stretch to imagine a suite of decorative fonts designed to work together and with coordinated palettes, in which case it could well make sense to apply the same color overrides to several families.

The somewhat analogous [`@font-feature-values` at-rule](https://drafts.csswg.org/css-fonts/#font-feature-values-syntax) is quite explicit that it *does* accept a list of family names (and the syntax and the prose agree on this!).

I notice that the current `@font-palette-values` implementations in Webkit and Blink do *not* accept a list, only a singular family name. @drott @litherum Would you be open to updating this to accept a list, if the WG agrees to resolve the current ambiguity in that direction?

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


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

Received on Saturday, 27 August 2022 18:40:35 UTC