[whatwg] some comments on DOM collections

On Thu, 19 Oct 2006, Anne van Kesteren wrote:
>
> * I think HTMLCollection should be able to return non-HTML elements as 
> well so I'd suggest returning Element instead of HTMLElement.

Hm, for, e.g. templateElements? Yeah, fair enough. Done.


> * Error handling needs to be defined for HTMLCollection.item() and 
> HTMLCollection.namedItem(). What happens if there's no such indexth node 
> or node with that id? This also applies to HTMLFormControlsCollection 
> and HTMLOptionsCollection.

Will do.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 19 October 2006 14:56:29 UTC