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

Jonas Sicking jonas at sicking.cc
Fri Nov 18 16:29:29 PST 2011


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



More information about the whatwg mailing list