Skip to content
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

Fix :has selector to set the root, allowing relative selectors #1214

Closed
wants to merge 1 commit into from

Conversation

lumimies
Copy link
Contributor

Fixes #1116

jhy added a commit that referenced this pull request May 17, 2019
And some styling to make the selector syntax easier to read
@jhy jhy added this to the 1.12.2 milestone May 17, 2019
@jhy
Copy link
Owner

jhy commented May 17, 2019

Thanks! Great simple fix, and good to include the test case. Merged.

@jhy jhy closed this May 17, 2019
@jhy
Copy link
Owner

jhy commented May 17, 2019

Merged in 0fe6d51

@ogolovanov
Copy link

ogolovanov commented Oct 31, 2019

Hi!

Does this really work?

I have installed jsoup 1.2.2 from git.

And get errors like:
Could not parse query 'div:hasChild(h2)': unexpected token at ':hasChild(h2)'

Thanks.

This was referenced Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature request: ":has()" and ">"
3 participants