[whatwg] Web DOM Core feedback

On Thu, 13 Jan 2011, Aryeh Gregor wrote:
> 
> The HTMLCollection interface does specify supported property indices, 
> but then also specifies behavior for out-of-bounds values which seems to 
> conflict with WebIDL (returns null instead of throwing).  Same for 
> DOMStringList, DOMTokenList, and possibly others.  Again, maybe it's 
> WebIDL that should actually change here, not sure.

The item() method can be called directly with out-of-range values.

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

Received on Wednesday, 4 May 2011 11:30:18 UTC