Re: Clarification on "live NodeList"

Ok, that's interesting and cool, thanks.  Somehow I missed this in the
DOM Core 2 itself [1]

(...reading and thinking more about this ...)

So since HTML5 also defines 'liveness', I'd still like to get this
further clarified somewhere in the HTML5 spec - both that the nodes in
the NodeList are live and that the NodeList will automatically
add/remove elements as the DOM changes.

Alternatively, a link to the DOM Core 2 definition of liveness for
NodeList would be good as it is spelled out in the link I gave.

Which brings up another point, eventually the HTML5 spec will link all
NodeList references to
http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-536297177 -
correct?

Thanks,
Jeff Schiller

[1] http://www.w3.org/TR/DOM-Level-2-Core/core.html#td-live

On Tue, Jul 7, 2009 at 10:39 PM, Maciej Stachowiak<mjs@apple.com> wrote:
>
> On Jul 7, 2009, at 8:35 PM, Jeff Schiller wrote:
>
>> However, "live NodeList" could also imply that the NodeList itself
>> should be 'live'.  That is, if a class is removed from an element in
>> the DOM then the NodeList object should be updated to reflect that
>> change by removing a node automatically.
>
> "live NodeList" is supposed to mean that the NodeList itself is live, in the
> sense that you describe.
>
>  - Maciej
>
>

Received on Wednesday, 8 July 2009 04:14:54 UTC