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

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

--- Comment #8 from Tab Atkins Jr. <jackalmage@gmail.com> ---
(In reply to comment #7)
> (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 :-\

It's not a huge deal.  I'm okay if it stays the way it is; the current syntax
makes sense, it's just suboptimal in the common case.

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

Received on Friday, 1 February 2013 18:50:51 UTC