Re: [css-scoping] What is the specificity of :host, :host(), and :host-context()?

On Mon, Dec 1, 2014 at 3:35 PM, Philip Walton <philip@philipwalton.com> wrote:
>> Per <http://dev.w3.org/csswg/css-scoping/#cascading>, rules from outside a
>> shadow tree always win against rules within a shadow tree, when they
>> attempt to style the same element.
>
> Hmmm, then it seems like there may be a bug in blink. In my example, the
> selector `:host(element-name)` wins over the universal selector. Should that
> not be the case?

Yes, that behavior is incorrect per spec.

~TJ

Received on Tuesday, 2 December 2014 00:21:03 UTC