Open Bug 622283 Opened 15 years ago Updated 3 years ago

When there is a contenteditable element in the document, all input have spellcheck entries in the context menu

Categories

(Firefox :: Menus, defect)

defect

Tracking

()

People

(Reporter: mounir, Unassigned)

Details

(Keywords: testcase, Whiteboard: [post-2.0])

Attachments

(1 file)

Attached file Testcase
For the moment, <input type='password'> and when bug 558651 will be fixed all input types except 'text' and 'search' should not have the spellcheck options. However, when there is a contenteditable element, these options appear. The reason is because |editingSession.windowIsEditable(win)| [1] seems to return true as soon as there is a contenteditable in the document. [1] https://mxr.mozilla.org/mozilla-central/source/browser/base/content/nsContextMenu.js#608 In the test case, when loading it, you should not have spellcheck entries in the context menu in the first input. However, in the iframe, where there is a editable div, they appear. If you click the checkbox, it inserts an edtiable div in the document and the entries will now be available in the first input. Both input are type='password'.
Assignee: nobody → ehsan
Whiteboard: [post-2.0]
Assignee: ehsan → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: