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

[whatwg] More input element feedback

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 12 Aug 2009 23:39:25 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0908122338420.6420@hixie.dreamhostps.com>
On Mon, 3 Aug 2009, Garrett Smith wrote:
> 
> Why did you want valueAsNumber in the first place?
> 
> Why do you need valueAsDate?
> 
> Both of these seem unnecessary, out of place and overcomplicate INPUT.

Both are included as convenience methods to allow authors to get the data 
in a direct form without needing to parse it manually.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 12 August 2009 16:39:25 UTC

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