may 16 2014 14:25 Brian Kardell <bkard...@gmail.com>: > If you only, need this in script, jQuery has had :has from the beginning > (it was a proposal from CSS3 a decade and a half ago), and if you need it > in CSS you might have a look at hitchjs which has it
I suppose that if you are already using jQuery you could make a script add a class or whatever to the parent element. While this is cheating (:-P) it will work unless Javascript is inactive. ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/