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

[Bug 12220] 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:28:43 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Pupqt-0003Qs-Bx@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12220

--- Comment #2 from Mounir Lamouri <mounir.lamouri@gmail.com> 2011-03-02 17:28:42 UTC ---
And at step 12, sub-step 2, we have to go to /conversion/ if the character at
/position/ isn't in [0-9]. It seems like a mistake given that we are skipping
step 13.
That would make these two strings being parsed differently: "1.e5" and "1.0e5".
The former would be converted to the number "1" and the later would be parsed
to the number "100000".

-- 
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 Wednesday, 2 March 2011 17:28:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 March 2011 17:28:45 GMT