Incorrect behavior when selecting text with the mouse in macOS
Categories
(Core :: DOM: UI Events & Focus Handling, enhancement)
Tracking
()
People
(Reporter: 5silentrain, Unassigned)
Details
Attachments
(5 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0
Steps to reproduce:
- Open any site where you can select text (for example https://html5test.com/)
- By holding the LMB, start selecting any text on the page. For example, repeat the selection of the text shown in this screenshot (from right to left): https://i.imgur.com/Tx4hR49.png
- After you make a selection with the mouse from right to left, as shown in the screenshot above, release LMB to stop the selection.
- Hold down the Shift key on your keyboard and click once with LMB outside of the previously selected text on the right side, as shown in this screenshot: https://i.imgur.com/bWD6L5N.png
Actual results:
Windows-style text selection will occur, but not macOS-style. See screenshot: https://i.imgur.com/Cw27CA8.png
Open Safari or Chrome and repeat the steps above. The result will be completely different! Here's what happens in Safari and Chrome:
https://i.imgur.com/lMM40fW.png
https://i.imgur.com/0za0sXB.png
| Reporter | ||
Comment 1•2 years ago
|
||
| Reporter | ||
Comment 2•2 years ago
|
||
| Reporter | ||
Comment 3•2 years ago
|
||
| Reporter | ||
Comment 4•2 years ago
|
||
| Reporter | ||
Comment 5•2 years ago
|
||
| Reporter | ||
Updated•2 years ago
|
Comment 6•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Reporter | ||
Comment 7•2 years ago
|
||
Can anyone confirm this please? 🙏
| Reporter | ||
Comment 8•2 years ago
|
||
The problem with incorrect text selection is still present in the latest versions of Firefox:
Firefox 117.0.1
Firefox Developer Edition 118.0b9
I ask the developers to confirm the presence of this bug.
Description
•