- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 14 Sep 2017 09:16:33 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 14 September 2017 09:19:59 UTC
@treshugart I think that by definition declarative shadow trees would have to be somewhat new as shadow trees are new. You cannot expect it to map to `appendChild()` just like you cannot expect that for contents of `<template>`. Now, having a separate kind of feature where there is some kind of boundary that ends up applying to CSS, but doesn't involve creation shadow trees, might be worthwhile, but I don't think it's a good idea to conflate that request with the topic of this issue: declarative shadow trees. There's not even an imperative API for what you're suggesting. I have seen the request before to decouple more and I can certainly appreciate that though I haven't seen a good enough solution yet. In any event, please open a separate issue to discuss that. @hayatoito I think we'll hit about as much complexity either way and I suspect that overloading `<template>` this way will make it harder to add new features to it in the future. -- 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/510#issuecomment-329423702
Received on Thursday, 14 September 2017 09:19:59 UTC