Live data from Hacker News

CSS: Has a Parent Selector Now

wisdomgeek.com

1–9 of 9 posts

Re: CSS: Has a Parent Selector Now

#4
Have to say, I'm very excited to see all the new additions CSS is getting lately. Things like this and the has: selector are going to make web development way better than before.

Re: CSS: Has a Parent Selector Now

#6

What’s holding up the Firefox implementation? Parent select is one feature that xpath would’ve provided earlier than the adopted selector spec. Glad to see it coming over.

caniuse says that Firefox supports it but not by default -- it can be enabled via a flag. I guess they don't have confidence yet to turn it on by default.

Re: CSS: Has a Parent Selector Now

#7

What’s holding up the Firefox implementation? Parent select is one feature that xpath would’ve provided earlier than the adopted selector spec. Glad to see it coming over.

they have an experimental implementation but it is not stable according to them. You can read more about it here: https://bugzilla.mozilla.org/show_bug.cgi?id=418039