Closed Bug 343687 Opened 19 years ago Closed 19 years ago

It shouldn't be possible to check spell on a readonly <textbox>

Categories

(Toolkit :: UI Widgets, defect)

1.8 Branch
x86
All
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file, 2 obsolete files)

The context menu of <textbox> elements has an item "Spell check this field" even if the readonly attribute is set to true. If the user enables spell check and then picks a suggestion in the list, the value of the field is modified. That shouldn't be possible on a readonly textbox. Steps to reproduce: 1. Open the Page Info window 2. In the general tab, right click "text/html" (for example).
Attached patch patch v1 (1.8 branch) (obsolete) — Splinter Review
Attachment #228209 - Flags: review?(mconnor)
You should check the property and not the attribute (readonly="fsdof" should not prevent spellcheck).
Attached patch patch v2 (1.8 branch) (obsolete) — Splinter Review
(In reply to comment #2) > You should check the property and not the attribute (readonly="fsdof" should > not prevent spellcheck). > First I tried to check the property but it didn't work, so I used the attribute instead. I have just noticed that the property isn't hard to fix (if I understand this file well).
Attachment #228209 - Attachment is obsolete: true
Attachment #228336 - Flags: review?(mconnor)
Attachment #228209 - Flags: review?(mconnor)
Oh, the patch from bug 318208 didn't land on the branch.
Attached patch patch v3Splinter Review
Updated patch. Bug 318208 is now fixed in both the trunk and the 1.8 branch.
Assignee: nobody → f.qu
Attachment #228336 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #229570 - Flags: review?(mconnor)
Attachment #228336 - Flags: review?(mconnor)
This bug will be invalid when bug 336799 lands, which removes the spellcheck UI from XUL.
Component: General → XUL Widgets
Flags: review?(mconnor)
Product: Firefox → Toolkit
Version: 2.0 Branch → 1.8 Branch
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Actually, this should have been fixed by my patch for bug 339127.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: