Bug 12796 - REGRESSION: Webkit erroneously submits forms while typing Japanese input
Summary: REGRESSION: Webkit erroneously submits forms while typing Japanese input
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 420+
Hardware: Mac (PowerPC) OS X 10.4
: P1 Critical
Assignee: Nobody
URL: http://dictionary.goo.ne.jp/
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2007-02-17 05:06 PST by Paul Davidson
Modified: 2007-03-13 06:30 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Davidson 2007-02-17 05:06:00 PST
As anyone familiar with Japanese input knows, typing Japanese involves inputting phonetic characters (Roman characters or kana), choosing the correct kanji, and hitting "return" to confirm the selection. Hitting "return" in this instance should not register as a return or line feed to the browser.

However, Webkit does just that on some Japanese search engine pages, like the one linked to in this bug report. When I visit the site and begin entering a Japanese search phrase, Webkit submits the search form as soon as I hit "return" while entering Japanese text, even though I'm not done yet.

The "normal" Safari does not do this.

As a side request, it would be really, really nice if Apple had a Japanese user testing Safari/Webkit. There are almost *always* issues with it that would be perfectly obvious to any Japanese user after 5 minutes of use.
Comment 1 David Kilzer (:ddkilzer) 2007-02-17 08:37:25 PST
Paul, are you using a WebKit nightly build newer than r19579?  This sounds like Bug 12677, which was fixed in that revision.

http://trac.webkit.org/projects/webkit/changeset/19579

Comment 2 Alexey Proskuryakov 2007-02-18 01:07:07 PST
Confirmed with r19687. It is an onkeypress handler that causes form submission, see bug 10871.
Comment 3 Paul Davidson 2007-02-18 05:37:55 PST
Yes, I tested the page with the most recent build available before I submitted the bug report.
Comment 4 Maciej Stachowiak 2007-02-27 19:34:37 PST
<rdar://problem/5028155>
Comment 5 Maciej Stachowiak 2007-03-13 01:22:59 PDT
<rdar://problem/4759563>

Resolved in Radar.
Comment 6 Darin Adler 2007-03-13 06:30:29 PDT
Committed revision 20030.