W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: ElementTraversal support in Firefox 3.1

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 20 Aug 2008 10:50:51 +0200
To: "Jonas Sicking" <jonas@sicking.cc>, "Webapps WG" <public-webapps@w3.org>
Message-ID: <op.uf6f61bf64w2qv@annevk-t60.oslo.opera.com>

On Wed, 20 Aug 2008 00:08:01 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
> I just landed support for ElementTraversal in firefox. This will be  
> available in tomorrow nightlies, as well as the upcoming Firefox 3.1  
> Alpha 2 release that should be out soon.
>
> On top of this we also implement a 'children' property which is an  
> NodeList of all child elements to allow children to be reached by index,  
> such as
>
> res = myElement.children[5];
>
> The reason we chose the name 'children' for this property is that this  
> is already available in IE, Safari and Opera (which makes me wonder  
> about the arguments about this being too complex to implement).

Seems like an argument to drop the redundant childElementCount attribute...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 20 August 2008 08:51:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:27 GMT