[csswg-drafts] [css-fonts-4] Syntax definition of <generic-family> shouldn't use <custom-ident>+ (#10551)

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

== [css-fonts-4] Syntax definition of <generic-family> shouldn't use <custom-ident>+ ==
The syntax for `<generic-family>` is currently defined as

```
<generic-family> = generic( <custom-ident>+ ) | <string> | <custom-ident>+
```

However `<custom-ident>+` and `<string>` are not a part of this syntax, they are part of `<family-name>`. It should be defined something like

```
<generic-family> = generic(<generic-script-specific>) | <generic-complete> | <generic-incomplete>`
<generic-script-specific> = kai | fangsong | nastaliq | ...
<generic-complete> = serif | sans-serif | system-ui | ...
<generic-incomplete> = ui-serif | ui-sans-serif | ui-rounded | ...
```


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


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

Received on Wednesday, 10 July 2024 20:52:48 UTC