Closed Bug 467715 Opened 16 years ago Closed 14 years ago

IME doesn't work correctlly in textarea when there is a div with contenteditable="true" in the same page

Categories

(Core :: DOM: Editor, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b2

People

(Reporter: bean_curd, Assigned: masayuki)

References

Details

(Keywords: inputmethod)

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; GTB5; SLCC1; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8; .NET CLR 3.0.04506; .NET CLR 3.5.21022; CIBA; MAXTHON 2.0)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; zh-CN; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4

The Chinese IME don't work correctly on the textarea in the page that has a div with contenteditable="true" property. The problem is that:
1. The original content in the textarea will be clean if the first thing input in it is a Chinese.
2. After quick switch to English mode (press shift or ctrl, not ctrl+space), the cursor can't move automatically while inputting English.

Reproducible: Always

Steps to Reproduce:
1.create a html file with the code in the Additional Information.
2.Open it with firefox
3.focus on the textarea (don't input anything), switch to any Chinese IME. Input something.
Actual Results:  
The original content in the textarea will be clean.

Expected Results:  
The IME should work as usual.

<html>
<body class="frmBody">
<textarea>werwerwer</textarea>
<div contenteditable="true">erer</div>
</body>
</html>
Version: unspecified → 3.0 Branch
(In reply to comment #2)
> Related to bug 415026?

Maybe, no. Because the bug changed the IME state behavior at focus changing. But the IME state is correct on the testcase. It looks like editor bug, but I'm not sure. I'll check the cause.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I tested the bug, it happens everytime. Is there anything I can do here?
To be accurate, I test it with 4 Chinese IMEs, Google Pinyin, Sogou Pinyin, Intellegent ABC and Microsoft Pinyin. Mircosoft Pinyin is the only one that does not reproduce the bug.
Sogou Pinyin and Google Pinyin are the most popular ones, because they use search query to improve the input result.
I think that the cause is same as bug 389372.
Assignee: nobody → masayuki
Component: General → Editor
Depends on: 389372
Product: Firefox → Core
QA Contact: general → editor
Version: 3.0 Branch → Trunk
Summary: Chinese IME doesn't work correctlly in textarea when there is a div with contenteditable="true" in the same page → IME doesn't work correctlly in textarea when there is a div with contenteditable="true" in the same page
Sorry for the spam, but the cause of this bug is not same as bug 389372.
No longer depends on: 389372
this is going to be fixed by the patch of bug 389372.
Status: NEW → ASSIGNED
Depends on: 389372
fixed by bug 389372.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b3
-> reopen
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
-> FIXED
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Target Milestone: mozilla2.0b3 → mozilla2.0b2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: