Re: [w3c/webcomponents] idea: declarative markup for manipulating a shadow root's host (#876)

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