[Webkit-unassigned] [Bug 24156] Unary + conversion to number fails for negative hexadecimal (-0xff) 0x
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 26 01:03:21 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24156
------- Comment #2 from jorgechamorro at mac.com 2009-02-26 01:03 PDT -------
(In reply to comment #1)
>
> The ToNumber operation (which is used by the unary plus operator) only handles
> negative signs for decimal numbers, not hex or octal. It might be a bit
> strange, but it's the spec.
FF, Opera and Chrome handle them fine, and that might be perceived as "better".
Better than the spec -if you want- but better, after all. Now, what's the best
browser ? Not Safari when it comes to hex string conversion to number... IMO,
in this case better is better than the spec. Safari is doing it to/in-spec, but
worse.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list