Closed mostafa-hisham closed 1 year ago
Sounds like a bug, feel free to send a fix
seems missed to update position when pipe is detected|
here https://github.com/postcss/postcss-selector-parser/blob/master/src/parser.js#L518
So far where pipe is checked there is increment. see https://github.com/postcss/postcss-selector-parser/blob/master/src/parser.js#L900
What is the expectation here?
|
is a non-standard combinator
|
is a word
|
All the examples given are invalid selectors, neither column combinators, nor namespaces.
An error seems the best option imo.
Using |
for custom syntax that has nothing to do with namespaces seems like a bad idea.
So incorrect syntax should error as it does in the other cases.
when using
processSync
on css rules contains|
Leeds to infinite loops some rules examples