Re: [csswg-drafts] Limitations on host context selection

I don't understand why, in  your example, you wouldn't want to turn on the "light" UI when the class is on the host element itself.

Anyway, you can already achieve this:

```
:host-context(.ui-light):host(:not(.ui-light)) ... {}
```

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1164#issuecomment-312317174 using your GitHub account

Received on Friday, 30 June 2017 16:45:59 UTC