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

fix: node.nodes can be empty for some rules #111

Merged
merged 3 commits into from
Oct 12, 2023
Merged

fix: node.nodes can be empty for some rules #111

merged 3 commits into from
Oct 12, 2023

Conversation

phoenisx
Copy link
Contributor

Since CSS has support for rules/at-rules that might not have any child nodes, this change adds a check for such rules to avoid crashing the parser.

Closes: #110

@phoenisx phoenisx merged commit 8afae0c into main Oct 12, 2023
@phoenisx phoenisx deleted the fix/issue-110 branch October 12, 2023 04:46
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.

[Bug] Failed to parse CSS variable with @layer declaration
1 participant