New issue
Advanced search Search tips
Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Preventing textInput event can't prevent the IME from inputting text.

Project Member Reported by suzhe@chromium.org, Dec 22 2009

Issue description

What steps will reproduce the problem?
1. Open the attached html file.
2. Check textInput checkbox
3. Input something with IME in the first input element.

What is the expected output? What do you see instead?
Nothing should be inputted. But instead, some selected text is inputted.

Please use labels and text to provide additional information.

The reason of this issue:
When inputting with IME, the textInput event is generated when confirming 
the composition text, but before that, the text is already inputted into the 
input element as composition text (selected text). So if textInput is 
prevented, then the composition text will never be confirmed.

The correct behavior should be: if textInput is prevented, all pending 
composition text should be discarded.

See also  issue 9883 .
 
keyevent.html
5.0 KB View Download

Comment 1 by karen@chromium.org, Jan 6 2010

Labels: Mstone-5

Comment 2 by karen@chromium.org, Jan 11 2010

Labels: -Mstone-5 Mstone-X

Comment 3 Deleted

Project Member

Comment 4 by bugdroid1@chromium.org, Mar 10 2013

Labels: -Area-WebKit -Feature-I18N Cr-Content Cr-UI-I18N
Project Member

Comment 5 by bugdroid1@chromium.org, Mar 20 2013

Labels: -Cr-UI-I18N Cr-UI-Internationalization
Project Member

Comment 6 by bugdroid1@chromium.org, Apr 6 2013

Labels: -Cr-Content Cr-Blink

Comment 7 by tkent@chromium.org, Jun 24 2015

Labels: -Cr-Blink Cr-Blink-Events Cr-UI-Input-Text-IME Cr-Blink-Editing

Comment 8 by tkent@chromium.org, Jul 15 2015

Labels: -Cr-Blink-Events
Project Member

Comment 9 by sheriffbot@chromium.org, Jul 14 2016

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been available for more than 365 days, and should be re-evaluated. Hotlist-Recharge-Cold label is added for tracking. Please re-triage this issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 10 by yosin@chromium.org, Jul 15 2016

Cc: -hbono@chromium.org
Status: Available (was: Untriaged)
Components: Blink>Editing>IME
Components: -UI>Input>Text>IME
Labels: Pri-3

Sign in to add a comment