- From: Joe Pea <notifications@github.com>
- Date: Thu, 14 May 2020 00:37:46 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 14 May 2020 07:37:59 UTC
Maybe the `:--state` feature will satisfy the use cases. Plus in the case where I thought I could benefit from this, I was setting a class on the host element just so that I could style it with `:host` in the CSS. But in hind-site, I can achieve the same thing with an internal `<div>` in the ShadowRoot, and I can even set the `:host` style to `display: contents` to render the ShadowRoot's content as desired, without affecting the public interface. I'll just close this, as the alternative to the situation I had is better because it keeps the outside clean (and `:--state` will be nice for that purpose). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/876#issuecomment-628450635
Received on Thursday, 14 May 2020 07:37:59 UTC