Closed
Bug 1623837
Opened 5 years ago
Closed 5 years ago
Copying from a disabled input in a subframe doesn't work reliably.
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
Copying from the disabled inputs in https://jsfiddle.net/d_toybox/9pykn7x0/4/ sometimes unreliably copies the code selected in one of the other windows like the editor ones.
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(emilio)
Priority: -- → P3
Assignee | ||
Comment 1•5 years ago
|
||
This fixes the case where you have a focused input (or selection for <input
disabled>) in an <iframe> and move the focus outside of the iframe.
Assignee | ||
Comment 2•5 years ago
|
||
Otherwise the user can select, but if you're in an iframe the iframe won't be
correctly focused.
This also matches other browsers, see:
data:text/html,<input autofocus><input disabled value=abc>
Depends on D67596
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(emilio)
Assignee | ||
Updated•5 years ago
|
Keywords: leave-open
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4506e5724c40
Use the last focused selection in nsDocViewerFocusListener. r=masayuki
Comment 4•5 years ago
|
||
bugherder |
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9f779fe80cca
Don't prevent focus switching for disabled form controls. r=masayuki,NeilDeakin
Comment 6•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•