[csswg-drafts] [css-fonts-4] `<generic-family>` should not accept `<string>` and unrestricted `<custom-ident>+` (#9410)

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

== [css-fonts-4] `<generic-family>` should not accept `<string>` and unrestricted `<custom-ident>+` ==
Follow-up on https://github.com/w3c/csswg-drafts/issues/6770#issuecomment-1724819811.

[`<generic-family>`](https://drafts.csswg.org/css-fonts-4/#generic-family-value) went from accepting a restricted list of keywords (generic family names) to accepting either `generic(<custom-ident>+)`, `<string>`, or (unrestricted) `<custom-ident>+`.

But from reading across the issue, I suspect the intent was for to only acquire `generic(<custom-ident>+)`. Therefore in the comment, I suggested `<generic-family> = generic(<custom-ident>+) | <generic-family-name>`.

[Generic family names](https://drafts.csswg.org/css-fonts-4/#generic-font-families) would be defined `for` `<generic-family-name>` (to allow deriving `<generic-family-name> = serif | sans-serif | ...` from [scraped `<dfn>`s](https://github.com/w3c/webref/blob/3ffa174372ec26eb57143d45c638f51718ea0f84/ed/css/css-fonts.json#L1281-L1365)).

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


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

Received on Tuesday, 26 September 2023 03:53:52 UTC