Closed Bug 1548783 Opened 7 years ago Closed 7 years ago

Cross-Browser: Different behaviors for disabled input fields (the text can/can't be copied)

Categories

(Core :: DOM: Editor, defect)

66 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 253870

People

(Reporter: ricardo1992rocha, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

Steps to reproduce:

  • Have a input html element with the disabled attribute set to true
  • Try to select and copy the input text

An example of a disable input:
<input type="text" disabled value="is disable">

Actual results:

It is not possible either to select or copy the text

Expected results:

Should be possible to copy the text.

Note:
In some browsers (Chrome, Edge, Internet Explorer and Opera) is possible to select and copy the text but in Firefox it is not possible. I post already a stackoverflow question in here: https://stackoverflow.com/questions/55955233/cross-browser-different-behaviors-for-disabled-input-fields-the-text-can-cant

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Component: Untriaged → Editor
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.