[Bug 13689] New: Is it intentional that floating point numbers beginning with a dot are not a valid floating point numbers? It took a fair amount of reading through the spec to figure out why <input type="number" step=".5"> doesn't do what it looks like it should do. <i

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13689

           Summary: Is it intentional that floating point numbers
                    beginning with a dot are not a valid floating point
                    numbers?  It took a fair amount of reading through the
                    spec to figure out why <input type="number" step=".5">
                    doesn't do what it looks like it should do.  <i
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#flo
                    ating-point-numbers
        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://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#valid-floating-point-number
Multipage: http://www.whatwg.org/C#floating-point-numbers
Complete: http://www.whatwg.org/c#floating-point-numbers

Comment:
Is it intentional that floating point numbers beginning with a dot are not a
valid floating point numbers?  It took a fair amount of reading through the
spec to figure out why <input type="number" step=".5"> doesn't do what it
looks like it should do.  <input type="number" step="0.5"> of course works.

Posted from: 69.251.188.87
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7) AppleWebKit/534.48.3
(KHTML, like Gecko) Version/5.1 Safari/534.48.3

-- 
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 Saturday, 6 August 2011 03:33:35 UTC