W3C home > Mailing lists > Public > www-style@w3.org > February 2015

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

From: Steve Hansen <steve@2sky.be>
Date: Tue, 10 Feb 2015 06:25:43 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <AM3PR06MB42022CECDE8046374C2CEE1F1270@AM3PR06MB420.eurprd06.prod.outlook.com> (sfid-20150210_062716_309179_B751FA5D)

I was wondering if anyone has some exact information if the following css selector is allowed:

  :host-context(.blocky):host(:hover) {
    display: block;
    background: red;

Chrome handles the selector correctly.
An example can be found here: http://jsbin.com/diburokino/1/edit?html,output

Received on Wednesday, 11 February 2015 19:53:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:51 UTC