Re: [Element Traversal LC] access to element by index

On Thu, 03 Apr 2008 19:04:55 +0200, Jonas Sicking <jonas@sicking.cc> wrote:

> Ah, thanks, that does explain the issue.
>
> Though I think that if we want the web to have a .childElements NodeList  
> available then we have two options:
> 1. Add it to the ElementTraversal spec and have SVG Tiny say that they  
> no longer require the full ElementTraversal spec.
> 2. Add it to a separate unrelated spec, such as HTML5.
>
> Result 2 doesn't seem any better than 1. The end result for both is that  
> SVG tiny only require a certain set of properties, and with 2 we'd have  
> to wait some undefined amount of time before getting it into an Rec,  
> possibly of a spec that will have a much slower adoption rate.

The result of (2) probably also means that there's both childElementCount  
and childElements.length to do the same.

-- 
Simon Pieters
Opera Software

Received on Thursday, 3 April 2008 22:20:20 UTC