[Bug 16519] [Shadow]: ":host" requires further clarification

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

--- Comment #7 from Dimitri Glazkov <dglazkov@chromium.org> 2012-06-15 21:05:31 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> 
> > Another brainstorming thought: what about a @host rule instead? This would have
> > the advantage that the breaking behavior is explicit, and makes sure only the
> > host element is affected (rules inside @host can match the host element only)
> > E.g.:
> > 
> > @host {
> >   div { background-color: white; }
> >   .warning { background-color: yellow; }
> >   .important .warning { background-color: orange; }
> > }
> 
> I like this.

http://dvcs.w3.org/hg/webcomponents/rev/32a744c2c2f9

Please reopen bug if I did this poorly.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 15 June 2012 21:05:34 UTC