Re: [DOMCore] Is Element.attributes live or static?

On 6/20/11 1:26 AM, David Flanagan wrote:
> With all the changes that DOM Core makes to the attributes attribute
> (moving it from Node to Element, changing it from NamedNodeMap to
> Attr[], and making Attrs not nodes) it is no longer clear whether it is
> supposed to be a live representation of an elements' attributes.

The current Web DOM Core text makes it non-live as far as I can see. 
There is no concept of "Live" for WebIDL arrays.

> I assume that web compatibility requires attributes to be live.

It may well, yes....  In which case the current spec text is probably 
not ok.  Data would be good.

-Boris

Received on Monday, 20 June 2011 05:50:17 UTC