-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Properly support selector lists #111
base: master
Are you sure you want to change the base?
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. |
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