Properly support selector lists#111
Conversation
- fix pseudo 'is' nad 'where'
|
@shagkur can you please provide a little bit of contexts what you want to achieve exactly?
|
|
As you know there's already an issue filed about pseudoIs not being able to handle a selector list (same issue, after update to 7.0.4 mainstream happend to me). Same applies to pseudoWhere. And for pseudoHas, digging deeper into the spec says it's supporting a list of relative selectors. Your actual implementation only supports one relative selector. |
|
Some things take some time ;-) I will try to look at it and incorporate it for an upcoming 7.1.x version |
Please ignore the pom.xml changes (we currently need them to fulfill our dependency repository requirements when fetching such custom changed builds). We do this because of having the need changes/fixes available quickly.
The important part is the parser change(s) and the SelectorMember changes i made. You might consider introducing something like CSSRelativeSelector consisting of a combinator field and an array of selector members (:has can hold a list of relative selectors)
And pseudoIs and pseudoWhere did not handle a selector list at all