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

Open
dlee opened this Issue May 28, 2012 · 3 comments

3 participants

@dlee

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).

@flavorjones
Sparkle Motion member

Better jQuery selector support is on the roadmap for 2.0. See https://github.com/tenderlove/nokogiri/blob/master/ROADMAP.md for more details.

I'll note this issue in the roadmap.

@dlee

Sweet!

@Peeja

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