Anne van Kesteren wrote: > > What he wants is kind of a reference to other elements inside a selector. > > Such a proposal has been made. The syntax wasn't clear yet, but I > thought it looked like: > > <foo><bar/></foo> > > foo:matches(bar){ > background:lime > } > > You will probably not see this in CSS3 tough. Maybe in CSS4 or as UA > extensions. No, no, you're missing the point. I'm looking for non-nested elements. <foo><bar /></foo> is a reference to parent and child nodes. I'm looking for, more or less, something like: <foo>[content]</foo> <blah>[content]</blah> <bar /> whereas the <foo>...</foo> and <bar /> elements are seemingly unrelated in relative to the markup. The idea is to control the behavior of <bar />'s style through interaction with the <foo>...</foo> element. See what I'm saying? -Leon SuttonReceived on Saturday, 21 August 2004 13:20:17 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:32 GMT