- From: Rune Lillesveen <rune@opera.com>
- Date: Wed, 11 Feb 2015 22:11:15 +0100
- To: Steve Hansen <steve@2sky.be>
- Cc: "www-style@w3.org" <www-style@w3.org>
On Tue, Feb 10, 2015 at 7:25 AM, 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
I can't think of a reason why it shouldn't work. :host-context and
:host would both match the same shadow host.
--
Rune Lillesveen
Received on Wednesday, 11 February 2015 21:11:44 UTC