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

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 26 Jul 2021 20:55:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-887019604-1627332915-sysbot+gh@w3.org>
There's nothing wrong with it on the Syntax side; you can't mix declarations with *style rules* (except with special circumstances, like Nesting), but you can mix either with at-rules. (You'll want to switch the grammar to `<declaration-list>`, is all.)

The OM needs to make sure it exposes both .style and .childRules or whatever.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 26 July 2021 20:55:18 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:25 UTC