Re: Using Shadow DOM @host rule with :scope pseudo-selector

2013-01-31 Thread Tab Atkins Jr.
On Thu, Jan 31, 2013 at 7:38 PM, Dominic Cooney wrote: > In reading [1] more closely, I see that @host rules are not matched starting > at the host element, but *specifically* to the host element. Yes. > In that sense, it does not make sense for @host to establish a context > scope, because @hos

Re: Using Shadow DOM @host rule with :scope pseudo-selector

2013-01-31 Thread Dominic Cooney
In reading [1] more closely, I see that @host rules are not matched starting at the host element, but *specifically* to the host element. In that sense, it does not make sense for @host to establish a context scope, because @host { :scope { … } } is redundant at best. Regards, Dominic [1] < htt

Using Shadow DOM @host rule with :scope pseudo-selector

2013-01-31 Thread Dominic Cooney
I wanted clarification on the meaning of @host rules [1] in combination with the :scope pseudo selector [2]. Am I correct in assuming that if I wanted to style the host element, and only the host element, I could apply these features in combination this way? @host { :scope { border: 1px sol