W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

Re: [csswg-drafts] [css-fonts] is it allowed for generic families like system-ui to be overridden by @font-face? (#4580)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Dec 2019 22:58:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-564771085-1576105080-sysbot+gh@w3.org>
No, sorry, I was referring to the *property*, like `h1 { font-family: system-ui; }`.

In the @font-face 'font-family' declaration, it doesn't matter whether it's quoted or not; they do exactly the same thing. But in the property on an element, keywords *always* refer to the generic family, and strings *always* refer to the webfont.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4580#issuecomment-564771085 using your GitHub account
Received on Wednesday, 11 December 2019 22:58:02 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC