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

Nested pseudo-selectors that take selectors eport missing a closing ')' when separated by commas #4268

Open
matthew-dean opened this issue Apr 14, 2024 · 1 comment
Labels

Comments

@matthew-dean
Copy link
Member

To reproduce:

a:is(.b, :is(.c)) {
  color: blue;
}

Current behavior:

Reports Missing closing ')' even though parentheses are balanced. This is true for :is(), :where(), and :not() which all can accept selector lists, meaning those selector lists may also have :is(), :where(), and :not(). It's possible that those pseudo-selectors are not parsing their contents as selectors.

Expected behavior:

Selectors should support nesting of selectors within pseudo-selectors that take relative selector lists as input

Environment information:

  • less version: 4.2.0
  • nodejs version: Current Less preview
  • operating system:
@prathameshkhandare
Copy link

assign this to me

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

No branches or pull requests

2 participants