W3C home > Mailing lists > Public > public-html@w3.org > January 2008

Order of nodes from getElementsByClassName

From: James Graham <jg307@cam.ac.uk>
Date: Fri, 04 Jan 2008 00:30:22 +0000
Message-ID: <477D7E1E.5000805@cam.ac.uk>
To: "public-html@w3.org" <public-html@w3.org>

getElementsByClassName is currenly non-specific about the order of the 
nodes in the returned NodeList. Unless there is a good reason not to, it 
should probably specify the NodeList is in document order, matching 
getElementsByTagName. This matches the current behavior of Firefox and 
Opera. See [1] for dicussion.

[1] http://krijnhoetmer.nl/irc-logs/whatwg/20080103#l-413
Received on Friday, 4 January 2008 00:30:26 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:29 UTC