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

Support generalized @supports conditions #1134

Merged
merged 2 commits into from Nov 5, 2020
Merged

Support generalized @supports conditions #1134

merged 2 commits into from Nov 5, 2020

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented Nov 4, 2020

@nex3 nex3 requested a review from Awjin November 4, 2020 03:12
// for a colon (outside of balanced brackets), but in practice we expect the
// vast majority of real uses to be `Expression ":" Expression`, so it makes
// sense to parse that case faster in exchange for less code complexity and
// a slower backtracking case.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a a really nice explanation.

@nex3 nex3 merged commit 939dca8 into master Nov 5, 2020
@nex3 nex3 deleted the supports-condition branch November 5, 2020 00:10
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.

Support <general-enclosed> in @supports
2 participants