-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Nested Pseudo-classes selector list report error "Missing closing ')'" #3802
Comments
Can you please assign this issue to me? |
Of course. But it looks like I don't have that permission. |
Can i still complete this issue. |
@iChenLei can you please exactly tell the line in less.js file from where you take the code from playground ? |
@iChenLei can I also work on that me and @iampaandey are peer programmer please assign it to me also ! ;) |
Can you also please elaborate little bit @matthew-dean ? |
@iampaandey I think the issue is here. It looks like the parser is a little naive, in that it allows any parenthetical (I think) after a selector, but then, within that parenthetical, it only accepts a single selector ( |
I believe #4290 may fix this issue. The following Less.js: :not(:has(div), div, h) {
background: red;
width: 100px;
height: 100px;
} becomes: :not(:has(div), div, h) {
background: red;
width: 100px;
height: 100px;
} I tested using https://github.com/puckowski/less.js/releases/tag/4.2.1.2 Fork release is Less.js 4.2.1 with fixes for: |
https://lesscss.org/less-preview/#eyJjb2RlIjoiOm5vdCg6aGFzKGRpdiksIGRpdiwgaCkge1xuICAgIGJhY2tncm91bmQ6IHJlZDtcbiAgICB3aWR0aDogMTAwcHg7XG4gICAgaGVpZ2h0OiAxMDBweDtcbn0iLCJhY3RpdmVWZXJzaW9uIjoiNC4xLjMifQ==
The text was updated successfully, but these errors were encountered: