W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] More input element feedback

From: Kartikaya Gupta <lists.whatwg@stakface.com>
Date: Thu, 23 Jul 2009 22:02:40 +0000
Message-ID: <20090723220241.59D2A9312@looneymail-mx3.g.dreamhost.com>
The description for what to do on setting valueAsNumber doesn't fully cover error conditions. It's not clear to me, for instance, what's supposed if you have an input type="date" or type="number" and try to set valueAsNumber to NaN. The description there (for date) just says "... passing it a Date object whose time value is the new value ..." but doesn't say what to do if the Date object can't be created.

Also, editorial fix: in the same two paragraphs ("On getting" and "On setting" for valueAsNumber), the link to valueAsDate is wrong; it just links back to #dom-input-valueAsNumber instead of #dom-input-valueAsDate.

Received on Thursday, 23 July 2009 15:02:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC