Text selection with mouse in input type text impossible if parent node has attribute draggable=true
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect, P3)
Tracking
()
People
(Reporter: huleo, Unassigned)
References
(Regression)
Details
(Keywords: parity-chrome, regression)
Attachments
(2 files)
Updated•13 years ago
|
Comment 1•13 years ago
|
||
Comment 3•10 years ago
|
||
Comment 5•9 years ago
|
||
Comment 7•8 years ago
|
||
Comment 8•6 years ago
|
||
Hi everyone,
this still a problem in FF 66.0.1
demo: http://jsfiddle.net/cyus25dj/
in the demo above, notice that in the not-draggable section you can place the cursor wherever you want in the text.
while in the draggable section, the cursor will always go to the beginning.
Comment 9•6 years ago
|
||
you can download and open it on firefox to reproduce the bug
Updated•6 years ago
|
Comment 11•4 years ago
|
||
Interesting. The spec does not mention about elements in an element whose draggable
is set to true
. On the other hand, there is a WPT exactly same as the report:
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/html/editing/dnd/interactiveelements/005.html
So, perhaps, we should fix this.
FYI: On Chrome, the <input>
element isn't draggable and can select its text with dragging mouse normally. On Safari, you can put caret at the position, but cannot select the text with dragging mouse.
Perhaps, we should stop climbing up the tree here:
https://searchfox.org/mozilla-central/rev/4f07d49f1c7a823da07e3a231ac87c6435c8fd58/layout/generic/nsIFrame.cpp#4650-4651
Comment 12•3 years ago
|
||
Hello,
it is still a problem in FF 88.0 (64 bit),
as in comment above, it can be checked in fiddlehttp://jsfiddle.net/cyus25dj/
or
http://jsfiddle.net/k43QZ/1/
Updated•3 years ago
|
Comment 13•1 year ago
|
||
Twelve years later, this is still an open issue in FF 116.0.3.
Description
•