[Bug 17573] New: (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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17573

           Summary: (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
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


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

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 22 June 2012 05:45:52 UTC