Bug 12796
Summary: | REGRESSION: Webkit erroneously submits forms while typing Japanese input | ||
---|---|---|---|
Product: | WebKit | Reporter: | Paul Davidson <paul> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Critical | CC: | ap, darin |
Priority: | P1 | Keywords: | InRadar, Regression |
Version: | 420+ | ||
Hardware: | Mac (PowerPC) | ||
OS: | OS X 10.4 | ||
URL: | http://dictionary.goo.ne.jp/ |
Paul Davidson
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
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
Alexey Proskuryakov
Confirmed with r19687. It is an onkeypress handler that causes form submission, see bug 10871.
Paul Davidson
Yes, I tested the page with the most recent build available before I submitted the bug report.
Maciej Stachowiak
<rdar://problem/5028155>
Maciej Stachowiak
<rdar://problem/4759563>
Resolved in Radar.
Darin Adler
Committed revision 20030.