[Webkit-unassigned] [Bug 48308] Too precise serialization from floating point number to string for "number" input elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 8 22:20:51 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=48308





--- Comment #41 from Kent Tamura <tkent at chromium.org>  2010-11-08 22:20:51 PST ---
I tried the 7th patch locally on Snow Leopard, and got a failure:

--- /tmp/layout-test-results/fast/forms/input-stepup-stepdown-expected.txt    2010-11-09 15:18:37.000000000 +0900
+++ /tmp/layout-test-results/fast/forms/input-stepup-stepdown-actual.txt    2010-11-09 15:18:37.000000000 +0900
@@ -167,7 +167,7 @@
 PASS for (var i = 0; i < 255; i++) { input.stepDown(); }; input.value is "0"
 Rounding
 PASS input.min="4"; stepUp("5.005", "0.005", "", 2) is "5.015"
-PASS input.min="4"; stepUp("5.005", "0.005", "", 11) is "5.06"
+FAIL input.min="4"; stepUp("5.005", "0.005", "", 11) should be 5.06. Was 5.0600000000000005.
 PASS input.min="4"; stepUp("5.005", "0.005", "", 12) is "5.065"

 Range type

Mikurube-san, would you check it please?

-- 
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