Skip to content

Support for CSS nesting module #94

@blutorange

Description

@blutorange

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions