Re: [css-scoping] Combining :host-context and :host selector

On Tue, Feb 10, 2015 at 5:25 PM, Steve Hansen <steve@2sky.be> wrote:
> I was wondering if anyone has some exact information if the following css
> selector is allowed:
>
> <style>
>   :host-context(.blocky):host(:hover) {
>     display: block;
>     background: red;
>   }
> </style>
>
> Chrome handles the selector correctly.
>
> An example can be found here: http://jsbin.com/diburokino/1/edit?html,output

Yup, that's valid.

~TJ

Received on Wednesday, 11 February 2015 21:19:14 UTC