W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 20 Jun 2011 01:49:49 -0400
Message-ID: <4DFEDF7D.40000@mit.edu>
To: www-dom@w3.org
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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:17 UTC