Hmm, I might be in agreement with Henri then. Having all these parallel
trees in the DOM is getting kind of out of control. Now there's the shadow
DOM trees on every node, and also this nested tree of document fragments
from <template>. There's a lot of simplicity in the DOM design that's lost
from these two changes.
On Tue, Jun 26, 2012 at 1:19 PM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:
> On Tue, Jun 26, 2012 at 1:03 PM, Elliott Sprehn <esprehn@gmail.com> wrote:
> > Silly question but why not specify the template element as if it's
> contents
> > were PCDATA, and the document fragment is the "value". Then this whole
> thing
> > isn't really any different than a <textarea>.
>
> Because you can't nest <textarea> inside of itself, but we want
> templates to be nestable.
>
> ~TJ
>