Comment from John Harrington
You can use CSS4 parent selectors right now with js! And it comes with some awesome states such as :click
View ArticleComment from Irina Vasilieva
You guys did a great job spending your time to create this article! If I had to explain my emotions about your website in only one word ? it would be WOW! Thank you! P.S. Subscribed for updates!
View ArticleComment from John
Very nice idea, Jonathan. One day CSS selectors will be as varied and rich as jQuery (or other similar JS frameworks), but for now we can dream :)
View ArticleComment from Evelyn Jeanne Shaw
Just wanted to say you have a great site and thanks for posting!…
View ArticleComment from Jonathan Snook
@Spinx: no browser supports this. This is just an idea. Maybe one day
View ArticleComment from Spinx Inc
I am grateful for the nice article about Previous Parent selector, but I have a question for you, is this supported by all browsers? I would appreciate an answer for this.
View ArticleComment from Lea Verou
Sure, but lets try to get that implemented first, before giving up and looking for alternatives. Browsers can be very inventive when they are pushed to implement something.
View ArticleComment from Jonathan Snook
@Rudie and Lea: that's pie-in-the-sky and no indication that it'll ever make it into a browser implementation. Tab Atkins indicates that even with a spec in hand, it's not likely. The point of this...
View ArticleComment from Lea Verou
Why would we do that when we have something much better planned for Selectors 4? http://www.w3.org/TR/selectors4/#subject
View ArticleComment from Rudie
I like http://www.w3.org/TR/2011/WD-selectors4-20110929/#subject better Much more readable and I *think* tecnically simpler since all selector parts are evaluated anyway.
View ArticleComment from brian
Well...if you would like to use it or let others, it does :) chances that anyone will be able to use anything even remotely close natively in the next year or two are slim imo, the original proposals...
View ArticleComment from Jonathan Snook
I haven't tried hitchjs. I could put together a plugin but not sure that my idea is all that complicated that it needs a prototype.
View ArticleComment from brian
Have you checked out hitchjs? You can use a :has oriented selector (as proposedby one of the spec editors over a decade ago) in your css now with it. It also has lots of other implementations of...
View ArticleComment from FremyCompany
I faced the exact same same markup before, and I like the solution you come with. However, I find the syntax confusing. Personally I would prefer :containing(...) and a prose text saying that :contains...
View ArticleComment from John Harrington
You can use CSS4 parent selectors right now with js! And it comes with some awesome states such as :click
View ArticleComment from Irina Vasilieva
You guys did a great job spending your time to create this article! If I had to explain my emotions about your website in only one word ? it would be WOW! Thank you! P.S. Subscribed for updates!
View ArticleComment from John
Very nice idea, Jonathan. One day CSS selectors will be as varied and rich as jQuery (or other similar JS frameworks), but for now we can dream :)
View ArticleComment from Evelyn Jeanne Shaw
Just wanted to say you have a great site and thanks for posting!…
View Article
More Pages to Explore .....