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

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

From: James Ross <w3c-20040125@james-ross.co.uk>
Date: Sat, 8 Feb 2014 23:40:45 +0000
Message-ID: <DUB113-W3482F3C370C4D74EE1BE17E3960@phx.gbl>
To: Tab Atkins Jr. <jackalmage@gmail.com>, www-style list <www-style@w3.org>
> From: jackalmage@gmail.com
> Date: Fri, 7 Feb 2014 19:24:11 -0800
>
> 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/>.
>
> There are a few bits I haven't filled in yet, because it's late and I
> don't want to work anymore, and I'm sure there are a few holes that
> aren't even mentioned yet. If you notice any, please let me know.

Looks like example 4 is messed up by missing the escaping of the angle brackets.

Only thing that seemed genuinely confusing was this part of $4.1 (/shadow), emphasis added:

    Then replace every element in the selector match list with the *host element* and top-level elements of each shadow tree of the element.

It's unclear to me what the purpose or effect of including the host element is here. Can you do "x-foo /shadow :host" to match <x-foo>? That seems somewhat redundant, so I guess I'm missing something here.

-- 
James Ross <james@james-ross.co.uk> 		 	   		  
Received on Saturday, 8 February 2014 23:41:15 UTC

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