W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > January 2011

[Bug 11887] Remove useless input.valueAsNumber. Pretty much the same functionality can be achieved using parseFloat or parseInt

From: <bugzilla@jessica.w3.org>
Date: Thu, 27 Jan 2011 18:57:42 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PiX2M-0007XK-5g@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11887

Joseph Pecoraro <pecoraro@apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pecoraro@apple.com

--- Comment #1 from Joseph Pecoraro <pecoraro@apple.com> 2011-01-27 18:57:41 UTC ---
input.valueAsNumber is useful for date and range input types. It isn't even
allowed on text input types. See the table at:
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#the-input-element

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 27 January 2011 18:57:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 27 January 2011 18:57:52 GMT