- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Sat, 8 Feb 2014 08:33:26 -0800
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: www-style list <www-style@w3.org>
> 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