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

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