W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

[csswg-drafts] [css-fonts-4] font-display says it's valid in @font-feature-values but it isn't an at-rule

From: rsheeter via GitHub <sysbot+gh@w3.org>
Date: Tue, 31 Jul 2018 21:33:57 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-346366762-1533072837-sysbot+gh@w3.org>
rsheeter has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts-4] font-display says it's valid in @font-feature-values but it isn't an at-rule ==
https://drafts.csswg.org/css-fonts-4/#font-feature-values-syntax appears to say only at-rules are allowed in @font-feature-values.

https://drafts.csswg.org/css-fonts-4/#font-display-font-feature-values seems to say `font-display` - not an at-rule - is valid in @font-feature-values.

Apologies if I'm horribly misunderstanding but ... how does this work? Is `@font-feature-values Roboto { font-display: swap; }` valid? If not, how do you use these together?




Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2973 using your GitHub account
Received on Tuesday, 31 July 2018 21:34:00 UTC

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