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

drott has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts-4] `font-family` descriptor in `@font-palette-values` ambiguous in number of font-family entries ==
https://drafts.csswg.org/css-fonts/#font-family-2-desc

says:

Value: | <'font-family'>
-- | --

linking to

https://drafts.csswg.org/css-fonts/#propdef-font-family

which is:

Value: | [ `<family-name>` \| `<generic-family>` ]#
-- | --

which makes it look like

1) the `font-family` descriptor in `@font-palette-values` should be able to assume a comma-separated list of family names as a value, which I don't think is the case.

2) generic family names are allowed here, which is also not the case according to the prose in 9.2.1.

I suggest to use a different, new value type definition to fix this.

CC @svgeesus @litherum 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6916 using your GitHub account


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

Received on Tuesday, 28 December 2021 14:48:45 UTC