Re: childElements, childElementCount, and children (was: [ElementTraversal]: Feature string for DOMImplementation.hasFeature(feature, version)?)

On Oct 20, 2009, at 8:22 PM, Robert O'Callahan wrote:

> On Wed, Oct 21, 2009 at 4:15 PM, Maciej Stachowiak <mjs@apple.com>  
> wrote:
> I agree. The reason I phrased it as I did was to contrast with my  
> previous remarks. The "children" attribute should be part of a  
> standard, even though it creates what I think is a poor design  
> pattern (mix of previous/next and indexed access to the same  
> collection).
>
> It might be worth adding annotations to the spec to say "this API is  
> terrible, do not use" and "this API is terrible, do not follow its  
> design".

Are there any DOM Core methods where those notes would not apply? :-)

  - Maciej

Received on Wednesday, 21 October 2009 03:26:14 UTC