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

add support @container and @starting-style to CSSOM #3707

Closed
wants to merge 3 commits into from

Conversation

jantimon
Copy link

@jantimon jantimon commented May 2, 2024

right now parsing css with @container or @starting-style throws an exception:

 Error: Could not parse CSS stylesheet
      at exports.createStylesheet (jsdom/lib/jsdom/living/helpers/stylesheets.js:34:21)

fixes #3597

@domenic
Copy link
Member

domenic commented May 2, 2024

Please revert changes to the version and changelog. Also ensure that the tests pass.

@jantimon
Copy link
Author

@domenic I finally found a way to fix the tests 🎉

could you please review this pr once again? it would unblock us as it will allow to use @starting-style in jest tests 🙃

domenic added a commit that referenced this pull request May 26, 2024
Omitting ESLint for now due to its ecosystem breakage.

Closes #3707.
domenic added a commit that referenced this pull request May 26, 2024
Omitting ESLint for now due to its ecosystem breakage.

Closes #3707.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using @container query logs error
2 participants