Should support CSS selector: parent:has(>child) #688

dlee opened this Issue May 28, 2012 · 3 comments

3 participants


nokogiri supports the CSS selector parent:has(descendant) but does not support parent:has(>child). jQuery supports both, so it would be great if nokogiri would also support parent:has(>child).

Sparkle Motion member

Better jQuery selector support is on the roadmap for 2.0. See for more details.

I'll note this issue in the roadmap.




For confused readers like myself: there's also a bug in :has() which confuses this further.

@flavorjones flavorjones added css and removed 2.0 labels Dec 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment