W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [shadow-styling] First Draft of Shadow DOM Styling uploaded

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sat, 8 Feb 2014 08:33:26 -0800
Message-Id: <AC568B46-D8E3-49F5-98C6-DB0B41762BFD@gmail.com>
Cc: www-style list <www-style@w3.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

> On Feb 8, 2014, at 12:09 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
> 
> On Fri, Feb 7, 2014 at 11:51 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
>>> On Feb 7, 2014, at 7:24 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
>>> I've uploaded the first draft of Shadow DOM Styling, the spec I
>>> intended to write a few weeks ago, to
>>> <http://dev.w3.org/csswg/shadow-styling/>.
>> 
>> I guess the difference between /shadow and /shadow-all is that /shadow only selects the top level children of the tree root (aside: "Children of the Root" sounds like a horror movie).
>> 
>> I think it would be simpler to just use the child selector to get to the top level children. Thus,  example 1, 'x-foo /shadow > span' would select #top, and 'x-foo /shadow span' would also select #not-top.
> 
> You can't chain combinators like that.

Or what, the world ends? Open your mind. This is is a special thing, and it can have special rules. Don't think of it exactly as a combinator if that is what's holding you back.
Received on Saturday, 8 February 2014 16:33:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC