Skip to content

[css-cascade-5] Possible error in @import syntax #8123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pyoor opened this issue Nov 22, 2022 · 1 comment
Closed

[css-cascade-5] Possible error in @import syntax #8123

pyoor opened this issue Nov 22, 2022 · 1 comment

Comments

@pyoor
Copy link

pyoor commented Nov 22, 2022

The @import rule syntax defines a type <import-condition> but the following grammar identifies a <import-conditions>. I assumed that this is a typo.

<dfn export>&lt;import-conditions></dfn> = [ supports( [ <<supports-condition>> | <<declaration>> ] ) ]?

@tabatkins
Copy link
Member

Yup, it was. (And it was correct in Cascade 4, so I guess someone just didn't copy over the fix.) Thanks!

jakearchibald pushed a commit to jakearchibald/csswg-drafts that referenced this issue Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants