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

No, it can't. See <https://drafts.csswg.org/css-fonts-4/#family-name-syntax> for the details - that @font-face is totally valid, and `font-family: "system-ui";` will select it, but `font-family: system-ui;` will only select the generic family; the generic keywords do not match the `<family-name>` production that looks for local/web fonts.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4580#issuecomment-564768748 using your GitHub account

Received on Wednesday, 11 December 2019 22:50:10 UTC