[Bug 18483] [Shadow]: Shared stylesheets may make @host ambiguous

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18483

--- Comment #7 from Dimitri Glazkov <dglazkov@chromium.org> ---
(In reply to comment #6)
> (In reply to comment #5)
> > http://dvcs.w3.org/hg/webcomponents/rev/aadaf5d62fff
> 
> Based on the recent internal thread, I suggest a slightly different syntax. 
> (Sorry for not getting to this earlier - I've been laboring under a mistaken
> idea of what @host does!)
> 
> I believe the syntax should instead be:
> 
> @host <selector>? { <declaration-list> }
> 
> If the selector is omitted, it defaults to "*".
> 
> This allows us to still address this bug's issue just as easily as before,
> but it makes the simple case (when you are only styling one type of element)
> easier to write.

I would _really_ like to keep the syntax the same as before. At-rules are
confusing enough, and the space between @host and <selector> has been perceived
as a descendant combinator by several folks. Not that the nested parens is much
better :-\

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 1 February 2013 17:30:13 UTC