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 for CSS nesting module #94

Open
blutorange opened this issue Jul 17, 2023 · 3 comments
Open

Support for CSS nesting module #94

blutorange opened this issue Jul 17, 2023 · 3 comments
Assignees

Comments

@blutorange
Copy link

https://www.w3.org/TR/css-nesting-1/

This is not a high priority for us, but I though I'd make an issue for tracking this feature. We use this parser to analyse custom CSS code written by users and they might start using the new nesting feature at some point. CSS nesting is supported by the latest browser versions https://caniuse.com/css-nesting

For example

.foo {
  color: red;

  &:hover {
    color: blue;
  }
}

[WARN] [17-07-23 11:47:42,579] [qtp600858818-449] (FormCssHelper.java:351) - Error while reading CSS file 'test.css', line 4, column 3: Encountered unexpected token: "&"

@phax phax self-assigned this Jul 17, 2023
Copy link

stale bot commented Jan 7, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 7, 2024
@blutorange
Copy link
Author

blutorange commented Jan 8, 2024

It's not urgent, but I think this should stay open as CSS nesting is becoming more common and it would be great if it could be supported eventually.

@stale stale bot removed the wontfix label Jan 8, 2024
@phax phax added the pinned label Jan 8, 2024
@phax
Copy link
Owner

phax commented Jan 8, 2024

Sure, the bot did some bot stuff ... 🤷🏼

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

No branches or pull requests

2 participants