[Webkit-unassigned] [Bug 55560] [chromium] Changing the value of an input element doesn't cancel IME composition

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 2 19:16:44 PST 2011


--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2011-03-02 19:16:44 PST ---
(In reply to comment #1)
> I once implemented a change that canceled an ongoing composition when the input-element value is changed by JS. But, it caused some site-compatibility problems (especially Google Suggest). (Google Suggest replaces the text with its suggestion when typing a down key or an up key. If we cancel an ongoing composition when the input-element value is changed, it cancels the composition.)

This shouldn't be an issue for Japanese IME because down arrow key, space bar, etc... is always caught by IME and won't be sent to the website.  Which means that suggest won't be replacing the text until the user confirms the current composition, and I think this is a correct behavior.

Now, there's a bug in Chromium that Chinese IME doesn't stop the propagation of a down arrow key even if it's used to select a different composition candidate.  So the down arrow key used to select a different candidate causes google.co.jp to replace the input's value.  But once we fix this bug, a down arrow key used to select a composition candidate is always caught by IME, and we shouldn't have the said issue.

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