- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 12 Dec 2019 22:45:06 +0000
- To: public-css-archive@w3.org
From the spec chapter I linked to in my original comment: > Any identifier which could be misinterpreted as a pre-defined keyword in the font-family value definition, or the CSS-wide keyword values, is not allowed. > > Note: this means that if you really have a font whose name is the same as one of the <generic-family> names, or the common-keywords|CSS-wide keyword values, it must be quoted. This text is very clear that if you say `h1 { font-family: system-ui; }`, you will *always* get the browser built-in font, not a webfont. The only way to access a `@font-face { font-family: system-ui; ... }` is by writing `h1 { font-family: "system-ui"; }`. (And `font-family: "system-ui";` should *never* select the browser built-in, even if there's no webfont defined for that name.) -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4580#issuecomment-565220592 using your GitHub account
Received on Thursday, 12 December 2019 22:45:07 UTC