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

Re: Order of nodes from getElementsByClassName

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 25 Jul 2008 09:46:53 +0000 (UTC)
To: James Graham <jg307@cam.ac.uk>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0807250946440.10853@hixie.dreamhostps.com>

On Fri, 4 Jan 2008, James Graham wrote:
> 
> 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

Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 25 July 2008 09:47:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:19 GMT