W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2011

Re: [DOMCore] Node.isEqualNode() and Attr object equality

From: Aryeh Gregor <ayg@aryeh.name>
Date: Tue, 30 Aug 2011 17:14:45 -0400
Message-ID: <CAKA+Ax=YW=R9_cKY-R3TP1z65+YvX0=mL086AXu8SYioLHZ5DQ@mail.gmail.com>
To: David Flanagan <dflanagan@mozilla.com>
Cc: www-dom@w3.org
On Mon, Aug 29, 2011 at 4:00 PM, David Flanagan <dflanagan@mozilla.com> wrote:
> The spec for Node.isEqualNode() says that "the associated list of
> attributes" of two elements must be equal in order for the function to
> return true.  The word "list" implies that the attributes are to be compared
> as a list, in which order matters.  But I think that the intent is that they
> are to be compared as sets in which order does not matter.  Right?

That sounds wrong to me, but it matches all the browsers I just tested
in, so I guess it's right.
Received on Tuesday, 30 August 2011 21:15:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:08 GMT