Support for :has pseudo selector
Opened this issue · 0 comments
binarytemple commented
Feature goal
(From JSoup docs)
:has(selector): find elements that contain elements matching the selector; e.g. div:has(p)
input = “<div><p>foo</p><h2>$100</h2></div><div><h1>foo</h1></div>”
result = Floki.find(html, “div:has(p) > h2”)