ph-css icon indicating copy to clipboard operation
ph-css copied to clipboard

Support for CSS nesting module

Open blutorange opened this issue 2 years ago • 4 comments

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: "&" <UNKNOWN>

blutorange avatar Jul 17 '23 11:07 blutorange

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[bot] avatar Jan 07 '24 11:01 stale[bot]

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.

blutorange avatar Jan 08 '24 09:01 blutorange

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

phax avatar Jan 08 '24 09:01 phax