Re: [webcomponents] Clarification needed :root CSS pseudo class matches ShadowRoot or not (#338)

If we're considering the shadow root to be a DocumentFragment that is not selectable by CSS, then the end-consumer of shadow dom (everyday web developers) will never actually interact with, or need to know and care about, the shadow root node itself - it will just be a boundary that their selectors can't cross. I think that re-naming host element to root element is a good mental model for developers not savvy to the implementation under the hood.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/338#issuecomment-146443289

Received on Thursday, 8 October 2015 07:31:50 UTC