Can't select text from disabled form fields
Categories
(Core :: DOM: Selection, defect)
Tracking
()
Webcompat Priority | ? |
Tracking | Status | |
---|---|---|
firefox72 | --- | affected |
People
(Reporter: eanbowman, Unassigned)
References
Details
+1 this is STILL an issue in 2019. Can we please merge the fix in the parent?
+++ This bug was initially created as a clone of Bug #195361 +++
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
If you setup an input field to be disabled, then composer can not select that
input field. Not by:
- Ctrl+A
- Mouse click
- Mouse double click
- Mouse drag (selecting others elements)
Reproducible: Always
Steps to Reproduce:
- Create an input field with <... disabled="disabled" ...>
- Try to select the input for deleting of editing
- you can't
Actual Results:
You can not delete or edit the input field
Expected Results:
You should be able to select the input field and the input field should be
painted blue
Please try the testcase, more instructions and examples are inside the testcase #1
Comment 1•5 years ago
•
|
||
"Any other behavior related to user interaction with disabled controls, such as whether text can be selected or copied, is not defined in this standard."
So at least the standard isn't violated. However, it seems desirable to have same behavior across browsers and Chrome's behavior is the one expected by the reporter.
As the issue is present at a web-page (https://www.w3schools.com/code/tryit.asp?filename=G5JI2AUOZP2U), I'll add the webcompat flag.
Updated•5 years ago
|
Updated•5 years ago
|
Description
•