- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Sun, 9 Feb 2014 16:31:44 -0800
- To: James Ross <w3c-20040125@james-ross.co.uk>
- Cc: www-style list <www-style@w3.org>
On Sat, Feb 8, 2014 at 3:40 PM, James Ross <w3c-20040125@james-ross.co.uk> wrote: >> 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. Ah, thanks. Fixed. > 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. Hm, you're right. It's redundant, *and* it wouldn't work anyway (:host only matches things if the selector is evaluated in a shadow tree context). Removed. ~TJ
Received on Monday, 10 February 2014 00:32:31 UTC