[Webkit-unassigned] [Bug 33165] [Qt] Form field accepts all the input characters in a field restricted for alphabets only
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 17 04:13:18 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=33165
--- Comment #5 from Robert Hogan <robert at webkit.org> 2010-03-17 04:13:18 PST ---
(In reply to comment #4)
> The problem is that a function defined to 'onKeyPress' never gets called.
> (<input type='text' onkeypress='validate(event)' />).
>
> With QtWebKit, InputBox gets its content via InputmethodEvents, not via
> keyevents.
Are you sure? It seems to me that in QtLauncher the validate() function _is_
getting called and only allowing alphabetical characters as per the regex
defined in the function. It also allows backspace/DEL but that seems a good
thing. The test case is working fine so far as I can tell.
--
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