leafo / scssphp

SCSS compiler written in PHP
MIT License
1.34k stars 214 forks source link

Parser improvement on :not(...) and others #696

Closed Cerdic closed 5 years ago

Cerdic commented 5 years ago

2nd part of trying to fix #368: Parser improvement to parse the content of :not() :has() :where() :is() itself as subselector - supporting all the selector syntax

At the moment the subselector is re-flatten after the parsing because the compiler not know how to deal with nested selector structure (this can be a future improvement in the compiler)