Skip to content

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

Closed
lumimies wants to merge 1 commit into
jhy:masterfrom
lumimies:has-root
Closed

Fix :has selector to set the root, allowing relative selectors#1214
lumimies wants to merge 1 commit into
jhy:masterfrom
lumimies:has-root

Conversation

@lumimies

Copy link
Copy Markdown
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 jhy added the improvement An improvement / new feature idea label May 17, 2019
@jhy

jhy commented May 17, 2019

Copy link
Copy Markdown
Owner

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

@jhy jhy closed this May 17, 2019
@jhy

jhy commented May 17, 2019

Copy link
Copy Markdown
Owner

Merged in 0fe6d51

@ogolovanov

ogolovanov commented Oct 31, 2019

Copy link
Copy Markdown

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

Labels

improvement An improvement / new feature idea

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants