Open
Bug 1323985
Opened 8 years ago
Updated 2 years ago
Double-click multi-line string selects only the line, not whole string
Categories
(Core :: DOM: Selection, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: msvitek, Unassigned)
Details
Attachments
(1 file)
17.22 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161201181357
Steps to reproduce:
Have a textarea element and add a long string to it without spaces or special chars so it goes on multiple lines. For example:
<textarea style="width=10px;">ffffffffffffffffffffffffffffffffffffffffffffffffffff</textarea>
Try selecting the string by double clicking it.
It happens on both Linux FF (50.0.2) and Windows 10 FF
Actual results:
Double click on multi-line string selects only the actual line on which you are clicking. See the attached screenshot.
Expected results:
It should have selected the whole string spanning multiple lines.
I can confirm this for firefox version 76.0 (64-bit) Linux.
This has to do with the break-word setting.
Reproduce:
- https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_word-wrap
- double click on "thisisaveryveryveryveryveryverylongword" broken spread over multiple lines: only the line that was double-clicked is selected.
Expected result: the whole word is selected.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•