forked from reworkcss/css
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Problem parsing :is() #211
Labels
enhancement
New feature or request
Comments
Hi @christophe-ledu , |
Merged
Note: this will be fixed with 1 level only. |
Please ignore my previous message. To prevent another ReDos I found a better implementation that will handle all the depth of parentheses. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behaviour
The content of the
:is()
is a selector itself ( https://developer.mozilla.org/en-US/docs/Web/CSS/:is )Actual Behaviour
Currently, parsing selector as in the following code split the selector with the
,
which doesn't workReproduce Scenario (including but not limited to)
Using a
:is()
with a,
inside the parenthesisSteps to Reproduce
Platform and Version
Linux, Node 18
Sample Code that illustrates the problem
Logs taken while reproducing problem
The text was updated successfully, but these errors were encountered: