[Webkit-unassigned] [Bug 42076] Keyboard operations for <input type=number>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 16 15:34:16 PDT 2010


--- Comment #7 from Kent Tamura <tkent at chromium.org>  2010-07-16 15:34:16 PST ---
(In reply to comment #6)
> +        - Reject characters other than + - 0-9 . e E
> I think that at least this part of patch is wrong enough to be rolled out. Number formatting is different in different locales, and the implementation is not a step in the right direction.
> Please roll this out, and let's discuss number validation separately.

I think this patch is harmless for the current implementation of <input type=number>.  It doesn't accept localized numbers as a valid value, and we shouldn't submit localized numbers.

I filed Bug 42484 for localized number support.

> +        if (key == "Up") {
> Should we be checking for modifiers? What if the user presses Shift+Up to select to beginning, for example?

Hmm, good point.  I have no idea what should happen for Shift+Up.

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