[Bug 16519] :host requires further clarification

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

--- Comment #5 from Dimitri Glazkov <dglazkov@chromium.org> 2012-03-27 16:22:01 UTC ---
(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.

-- 
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 Tuesday, 27 March 2012 16:22:08 UTC