- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Sep 2023 12:18:54 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-fonts-4] Which type of font family names are system font names? ==
Are they generic family names?
> There are two types of font family names:
>
> - `<family-name>` [...]
> - `<generic-family>` [...]
https://drafts.csswg.org/css-fonts-4/#font-family-prop
Or a separate type? About `<family-name>#` in the prelude of `@font-feature-values`:
> [...] rules that include generic or system fonts in the list of font families are syntax errors
https://drafts.csswg.org/css-fonts-4/#font-feature-values-syntax
FF currently accepts `@font-feature-values caption {}` whereas `caption` is a system font, probably because it wants a `<family-name>` that does not match `<generic-family>`, which does not explicitly include system font names.
---
*aside*
`font-family: caption` is valid, but it has no effect, therefore it maybe a bit misleading to say this:
> That is why this property is "almost" a shorthand property: system fonts can only be specified with this property, not with `font-family` itself
https://drafts.csswg.org/css-fonts-4/#font-prop
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9292 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 1 September 2023 12:18:56 UTC