Re: [whatwg/dom] Composed shadow DOM (#531)

I've been told that this may not work for a couple of reasons:

1. Styling is very much tied to DOM, thus scoping being tied to shadow DOM being enabled at the same time.
2. It may suffer from the same performance caveats that `<style scoped>` did.

I'd like to understand more about these issues. I can see the first one being a blocker if it would require engines to have to decouple the two, causing large amounts of work. For the second, it's actually quite different to `<style scoped>` as it reuses the `<slot>` element as an inner boundary, making the tree that requires scoping much smaller, and also limits it to a single tree, as opposed to having multiple `<style scoped>` down the tree (this is how I understand it could be used.)

Thanks again for your patience with my possible lack of understanding of the intricacies around this.

cc @robdodson as we've been messaging about this.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/531#issuecomment-341582486

Received on Thursday, 2 November 2017 22:58:17 UTC