[whatwg] Web DOM Core feedback

Ian Hickson ian at hixie.ch
Wed May 4 11:30:18 PDT 2011


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.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list