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

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 UTC