Closed Bug 562576 Opened 14 years ago Closed 14 years ago

Contenteditable element breaks spellchecker on other input elements

Categories

(Core :: Spelling checker, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 433860

People

(Reporter: ahurle, Unassigned)

Details

(Keywords: testcase, Whiteboard: dupe?)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)

If you have a contenteditable element on a page (like a div) along with other text inputs (input, textarea elements), spellchecker suggestions don't show up on the plain text elements.  Misspelled words are still underlined.  The spellchecker seems to work fine in the contenteditable element.

Will add test case

Reproducible: Always

Steps to Reproduce:
1. Add contenteditable element to page with plain text input elements
2. Misspell a word in the plain text element
3. Right-click misspelled word
Actual Results:  
No spelling suggestions show up in context menu

Expected Results:  
Spelling suggestions should appear at the top of the context menu

Disabling contenteditable on the element restores spellcheck functionality.
Attached file Demonstrates the bug
CE on/off buttons toggle contenteditable on the div at the bottom
So the steps to reproduce with the testcase are actually:
1) click "CE on"
2) Right-click the word "textarea"
Actual results: no suggestions in the context menu
Expected results: suggestions appear in the context menu

If so, is this different from bug 433860?
Keywords: testcase
Whiteboard: dupe?
Yes, those are the correct steps for the testcase.

And yes, this seems to be the same bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: