Open Bug 1291079 Opened 8 years ago Updated 3 years ago

Turn designMode on and then off could still receive "composition" event

Categories

(Core :: DOM: Editor, defect, P5)

defect

Tracking

()

People

(Reporter: ywu, Unassigned)

Details

(Keywords: inputmethod)

Attachments

(1 file)

Attached file text.html
User-Agent: 
  firefox nightly 51.0a1 on mac 10.11.6
  firefox 47.0 on mac 10.11.6

When trying to turn designMode on and then off, I can still be able to receive "composition" event. And firefox 47 works fine but firefox nightly 51.0a1 works weird.
 
Reproducible: Always

Steps to Reproduce:
1.Type in with IME and you can see the text field below the button is updated.
2.Click the button to turn off the designMode 
3.Keep typing with IME and you will see the text field below the button updated.

Expected Results: 
when the designMode is off, gecko shouldn't send "composition" event to window.
Maybe, nsHTMLDocument::EditingStateChanged or nsEditSession::TearDownEditorOnWindow should commit current composition.
Keywords: inputmethod
Priority: -- → P3

Bulk-downgrade of unassigned, 4 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: P3 → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: