W3C home > Mailing lists > Public > public-webapi@w3.org > June 2008

Re: ElementTraversal progress?

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 02 Jun 2008 14:56:22 -0700
Message-ID: <48446C86.1030106@sicking.cc>
To: Charles McCathieNevile <chaals@opera.com>
Cc: Web APIs WG <public-webapi@w3.org>

Charles McCathieNevile wrote:
> 
> On Sat, 31 May 2008 01:05:44 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
> 
>> Hi WebAPI fans!
> 
> WebAPI! WebAPI! WebAPI!
> 
> (Sorry)
> 
>> I wanted to implement the ElementTraversal spec for the next release 
>> of firefox (after FF3). However last I heard there was still an 
>> outstanding issue of if we wanted to have .childElementCount unsigned 
>> long or if we wanted a .childElements NodeList.
> 
> I guess Doug will pipe up soon, but as I understand things from him he 
> thinks it makes sense to leave the spec as is. Opera, Ikivo and BitFlash 
> are known to have implementations that are believed to be conformant to 
> the current spec.
> 
>> It would be great to have this resolved pretty soon. The development 
>> cycle for our next release is quite short so if we want to add 
>> ElementTraversal to the release we would ideally like to see it more 
>> stable pretty soon.
>>
>> As before I'm still of the opinion that a .childElements NodeList 
>> would be a better solution. While I agree that it can be more complex 
>> to implement, I still think that the value vs. cost ratio still is 
>> quite good.
> 
> One of the issues involved in a new, more complicated solution is 
> precisely the one of stabilising the spec relatively quickly. Personally 
> I think it seems better to go with what we have right now, and look at 
> adding more in a seperate piece of work, so as to stabilise and finish 
> the spec...

I guess I would bow down to the majority vote here, though I really 
don't understand the "more complicated" argument as pretty much anything 
else we're talking about in this WG is more complicated than this feature.

In mozilla we would actually even implement the .childElementCount 
property by keeping a hidden childNodes list internally. But that might 
be specific to the mozilla implementation.

/ Jonas
Received on Monday, 2 June 2008 21:57:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 2 June 2008 21:57:45 GMT