W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2011

[whatwg] Declarative Inert DOM (e.g. the <template> element)

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 18 Nov 2011 16:29:29 -0800
Message-ID: <CA+c2ei87bi16i02q2gVCoaMySTSY2qCisWzjBUUgiEm84uB-4g@mail.gmail.com>
On Fri, Nov 18, 2011 at 3:54 PM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
> On Fri, Nov 18, 2011 at 3:44 PM, Jonas Sicking <jonas at sicking.cc> wrote:
>> Personally it seems to me that moving the elements out of the DOM such
>> that you can't find them using gEBI/querySelector/firstChild is more
>> surprising than useful.
>>
>> It would basically reduce the feature to syntax sugar for setting
>> .innerHTML on an orphaned <div>. Is that really producing the best
>> solution for authors?
>
> No, it's still not syntax sugar. ?You still get the lack of attribute
> normalization, for example.

Wouldn't that just happen when the template is instantiated?

/ Jonas
Received on Friday, 18 November 2011 16:29:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:09 UTC