[Webkit-unassigned] [Bug 10010] REGRESSION: Assertion failure in HTMLInputElement::setValueFromRenderer when pressing Return in a form with unconfirmed text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 6 03:53:33 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=10010


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com




------- Comment #6 from ap at webkit.org  2006-12-06 03:53 PDT -------
This problem has started with r15429: <rdar://problem/4614054> REGRESSION:
Safari submits forms when the Return key is hit to complete inline inputs.

WebCore tries to second-guess the input method, which may or may not let the
keypress propagate. This particular heuristic happens to match Kotoeri, but not
other IMs, so form submission is performed too late, when two(!) linefeeds are
already appended to the value. Potentially, similar problems can affect any
keys that are custom processed by WebCore, not just Enter.

For IMs to do their work properly, events first need to be filtered through
-[NSResponder interpretKeyEvents:], with the real work being done from
NSTextInput callbacks, rather than from keyUp/keyDown. Of course, this can
cause lots of issues with HTML events (e.g. whether onkeydown/onkeypress
handlers should be called, or whether they can cancel the event).


-- 
Configure bugmail: http://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