[Bug 12220] New: Make sure rules for parsing a float are the same in HTML and in Javascript specifications

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

           Summary: Make sure rules for parsing a float are the same in
                    HTML and in Javascript specifications
           Product: HTML WG
           Version: unspecified
          Platform: All
               URL: http://www.whatwg.org/specs/web-apps/current-work/mult
                    ipage/common-microsyntaxes.html#rules-for-parsing-floa
                    ting-point-number-values
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mounir.lamouri@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: bzbarsky@mit.edu, mike@w3.org,
                    public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, Olli.Pettay@gmail.com,
                    Ms2ger@gmail.com
            Blocks: 11887


After a discussion with Boris on IRC, it seems like the current way of parsing
floating point numbers in HTML (see URL) do not match what javascript does.
This really should match.

One of the issue Boris mentioned is that HTML specs do not allow a leading '+'.
According to him, other issues might exist.

-- 
Configure bugmail: http://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 Wednesday, 2 March 2011 17:04:10 UTC