Re: [whatwg] HTMLCollection and HTMLAllCollection suggestion

2010-07-27 Thread Ian Hickson
On Sat, 3 Apr 2010, Perry Smith wrote: > > HTMLCollection has a namedItem method that returns either null or one > object. > > HTMLAllCollection has a namedItem method that returns either null, one > object, or a collection of objects. > > I'm a Rails freak and one of the things that they do wh

Re: [whatwg] HTMLCollection and HTMLAllCollection suggestion

2010-04-06 Thread Boris Zbarsky
On 4/6/10 1:37 PM, Perry Smith wrote: Gack! probably. document.compatMode returns CSS1Compat so I'm in no-quirks-mode which is probably what you mean by standards mode. Yep. -Boris

Re: [whatwg] HTMLCollection and HTMLAllCollection suggestion

2010-04-06 Thread Perry Smith
On Apr 6, 2010, at 12:24 PM, Boris Zbarsky wrote: On 4/6/10 12:17 PM, Perry Smith wrote: I'm confused by the spec at this point. The title for section 13 is "obsolete features" but then 13.3 is "Requirements" Right. Just because a feature is obsolete doesn't mean that UAs aren't required

Re: [whatwg] HTMLCollection and HTMLAllCollection suggestion

2010-04-06 Thread Boris Zbarsky
On 4/6/10 12:17 PM, Perry Smith wrote: I'm confused by the spec at this point. The title for section 13 is "obsolete features" but then 13.3 is "Requirements" Right. Just because a feature is obsolete doesn't mean that UAs aren't required to implement it in a particular way. > I test a litt

Re: [whatwg] HTMLCollection and HTMLAllCollection suggestion

2010-04-06 Thread Perry Smith
On Apr 5, 2010, at 1:04 PM, David Flanagan wrote: Perry Smith wrote: On Apr 3, 2010, at 11:58 PM, David Flanagan wrote: Perry Smith wrote: HTMLCollection has a namedItem method that returns either null or one object. [1] HTMLAllCollection has a namedItem method that returns either null, o

Re: [whatwg] HTMLCollection and HTMLAllCollection suggestion

2010-04-05 Thread David Flanagan
Perry Smith wrote: On Apr 3, 2010, at 11:58 PM, David Flanagan wrote: Perry Smith wrote: HTMLCollection has a namedItem method that returns either null or one object. [1] HTMLAllCollection has a namedItem method that returns either null, one object, or a collection of objects. [2] I'm a Rail

Re: [whatwg] HTMLCollection and HTMLAllCollection suggestion

2010-04-04 Thread Perry Smith
On Apr 3, 2010, at 11:58 PM, David Flanagan wrote: Perry Smith wrote: HTMLCollection has a namedItem method that returns either null or one object. [1] HTMLAllCollection has a namedItem method that returns either null, one object, or a collection of objects. [2] I'm a Rails freak and one of

Re: [whatwg] HTMLCollection and HTMLAllCollection suggestion

2010-04-03 Thread David Flanagan
Perry Smith wrote: HTMLCollection has a namedItem method that returns either null or one object. [1] HTMLAllCollection has a namedItem method that returns either null, one object, or a collection of objects. [2] I'm a Rails freak and one of the things that they do which I love is foo return

[whatwg] HTMLCollection and HTMLAllCollection suggestion

2010-04-03 Thread Perry Smith
HTMLCollection has a namedItem method that returns either null or one object. [1] HTMLAllCollection has a namedItem method that returns either null, one object, or a collection of objects. [2] I'm a Rails freak and one of the things that they do which I love is foo returns an item and foo