Re: Order of nodes from getElementsByClassName

getElementsByName also fails to specify the order and should specify  
document order.



On Jan 3, 2008, at 4:30 PM, James Graham <jg307@cam.ac.uk> 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
>

Received on Friday, 4 January 2008 04:34:18 UTC