This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17573 - (I apologize in advance if this shows up multiple times, submit kept giving an error) The "step" attribute of the Input tag, type="numeric": The default step for this input type is 1, thereby forcing all input to be integer only if you leave off the step
Summary: (I apologize in advance if this shows up multiple times, submit kept giving a...
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-22 05:11 UTC by contributor
Modified: 2012-09-14 10:46 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2012-06-22 05:11:16 UTC
Specification: http://dev.w3.org/html5/spec/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
(I apologize in advance if this shows up multiple times, submit kept giving an
error)
The "step" attribute of the Input tag, type="numeric":

The default step for this input type is 1, thereby forcing all input to be
integer only if you leave off the step attribute. I really believe the default
step should be "any" so that
<input type="numeric" name="arg1" />
would accept any number entered like -5, 3.2, 100.23, or -0.0103293 instead of
the current implementation that forces such inputs to accept integers only. I,
as the developer, should take extra actions to force constraints upon the
input as I need them, but should not expect any constraints if I leave them
all out.

Posted from: 71.62.71.235
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5
Comment 1 contributor 2012-07-18 07:23:48 UTC
This bug was cloned to create bug 17959 as part of operation convergence.
Comment 2 Robin Berjon 2012-09-14 10:46:08 UTC
Same decision as for https://www.w3.org/Bugs/Public/show_bug.cgi?id=17959.