Re: [css3] Proposal: Additional adjacent combinator (E - F)

On Tue, 27 Jan 2004, Jens Meiert wrote:
>>
>> Personally to solve this I prefer my :matches() proposal. See:
>>
>>    http://lists.w3.org/Archives/Public/www-style/2003Apr/0146.html
>
> Well, am I right assuming that the problem I outlined is solved by e.g.
>
>     h1:has(h1 > div)

Yes. :-)

(That, or some variant on the syntax -- there have been several versions,
none completely perfect, so if this ever gets added to the spec it is
likely to vary a little from all the proposals so far.)

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 27 January 2004 18:04:38 UTC