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

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 02 Mar 2011 17:04:08 +0000
To: public-html@w3.org
Message-ID: <bug-12220-2495@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:23 GMT