[whatwg] HTML 5 : Misconceptions Documented

Garrett Smith dhtmlkitchen at gmail.com
Sat Aug 16 18:08:50 PDT 2008

On Thu, Aug 14, 2008 at 6:15 PM, Garrett Smith <dhtmlkitchen at gmail.com> wrote:
> On Wed, Aug 13, 2008 at 2:02 PM, Ian Hickson <ian at hixie.ch> wrote:
>> On Wed, 13 Aug 2008, Kristof Zelechovski wrote:
>>> While we are at collections and arrays, it is worth noting that the
>>> {coll.length} attribute is a misnomer.  I would always ask for
>>> {coll.count} when I was learning and meditate upon why it did not work.
>> It's too late to change that kind of thing, and consistency is better at
>> this point, so we should keep using 'length'.
> of course.

I meant: Of course it's too late to change to 'count'. It's not too
late to deprecate form.length, since form.elements.length provides a
more reliable alternative.

My other questions remain, along with the questionable parts of Web Forms 2.0.


>> --
>> Ian Hickson               U+1047E

More information about the whatwg mailing list