Skip to content
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

@supports not pasre to CSSSupportsRule #693

Closed
dr2009 opened this issue Jan 19, 2023 · 1 comment
Closed

@supports not pasre to CSSSupportsRule #693

dr2009 opened this issue Jan 19, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dr2009
Copy link
Contributor

dr2009 commented Jan 19, 2023

@supports (display: grid) {
  .box {
    display: grid;
  } 
}

@supports will parse CSSStyleRule
but it should be CSSSupportsRule

@dr2009 dr2009 added the bug Something isn't working label Jan 19, 2023
dr2009 pushed a commit to dr2009/happy-dom that referenced this issue Jan 19, 2023
capricorn86 added a commit that referenced this issue Jan 19, 2023
#693@patch: Fixed @supports not pasre to CSSSupportsRule.
@capricorn86
Copy link
Owner

Thank you for contributing @dr2009! 🙂

The fix has been released.

You can read more about the release here:
https://github.com/capricorn86/happy-dom/releases/tag/v8.1.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants