[Webkit-unassigned] [Bug 127667] Decimal::fromString's EBNF documentation does not match implementation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 26 19:17:41 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=127667
--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org> 2014-01-26 19:15:07 PST ---
NOTE: <http://www.w3.org/TR/2011/WD-html5-20110525/common-microsyntaxes.html#real-numbers>
Sounds like: "sign? digit+ ('.' digit+ )? (('e'|'E') sign? digit+)?"
Because it always says "A series of one or more characters in the range".
If that is the case, then the implicit fallthrough in the current implementation is wrong, and the documentation should not mention "digit*" anywhere. Also, where did the idea to support strings without a number before a '.' come from? Was it an older version of the spec? Should we continue to support that syntax?
So many questions!
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list