Closed Bug 297979 Opened 19 years ago Closed 12 years ago

Cannot right-click on disabled button/input/optgroup/select/textarea form elements

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 141432

People

(Reporter: bugzilla, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

When you right-click on a disabled button/input/optgroup/select/textarea form
elements, the right-click is ignored and nothing happens.

Reproducible: Always

Steps to Reproduce:
1. Find a page with a disabled button/input/optgroup/select/textarea form element.
2. Right-click on it.


Actual Results:  
Right-click is ignored and nothing happens.

Expected Results:  
The regular page context menu should be shown the same way it is shown when you
right-click on an ENABLED <input type="radio"> button or an ENABLED <select> field.
I would like the emphasise that this bug applies to all HTML elements that
supposed the 'disabled' attribute EXCEPT for disabled 'option' elements;
context-menu behaves as expected on them.
OS: Windows XP → All
Hardware: PC → All
Added the working disabled <option> element to the example.
Attachment #186555 - Attachment is obsolete: true
Related to bug 253870 and Suite bug 141432?
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8b4) Gecko/20050906
Firefox/1.4 ID:2005090605

This behavior persists on the above nightly.  I am confirming this and moving it
to Core/Event Handling, with the caveat that a developer may not view this
behavior as a bug.
Assignee: nobody → events
Status: UNCONFIRMED → NEW
Component: Layout: Form Controls → Event Handling
Ever confirmed: true
QA Contact: layout.form-controls → ian
Depends on: 218093
Assignee: events → nobody
QA Contact: ian → events
This seems to be a duplicate of
https://bugzilla.mozilla.org/show_bug.cgi?id=141432
(In reply to Adam from comment #6)
> This seems to be a duplicate of
> https://bugzilla.mozilla.org/show_bug.cgi?id=141432

Yes, yes it is.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.