W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: proposal for a new css combinator

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 13 Jan 2010 10:41:35 -0500
Message-ID: <4B4DE9AF.6080606@mit.edu>
To: Alan Gresley <alan@css-class.com>
CC: Niels Matthijs <niels.matthijs@internetarchitects.be>, www-style list <www-style@w3.org>
On 1/13/10 7:25 AM, Alan Gresley wrote:
> .focusBlock>header, .focusBlock *>header {
> // style rules //
> }
>
> or
>
> .focusBlock>header, .focusBlock>* header {
> // style rules //
> }

Both of those selectors are exactly equivalent to ".focusBlock header" 
in terms of what they match.

-Boris
Received on Wednesday, 13 January 2010 15:42:12 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:23 GMT