Re: [w3c/webcomponents] Should shadow host have `display: block` by default? (#426)

I like the idea of `:selecting-hosts-somehow` in order to possibly get references to those host in order to manipulate them, but not for applying any sort of style. It seems to me like shadow host elements can be entirely skipped from the rendering engine so that only the elements in the shadow root , are the child nodes of the element that contains the shadow host in the render tree, and therefore the shadow host never needing any styling at all. That's my initial hunch, but I might be missing details.

What I'm imagining is that the following

```
              div.container
                   |
              div:has-shadow-root --> entirely skipped from rendering, doesn't need any styling at all
                   |
              shadowroot
              /        \
            div        div
```

results in a render tree that is more along the lines of

```
              div.container
              /        \
            div        div
```

But, it seems like that's not the case based on this discussion. Where can I find these details in order to see why this isn't the case?

---
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/426#issuecomment-214812277

Received on Tuesday, 26 April 2016 17:03:39 UTC