Open
Bug 1911755
Opened 1 year ago
Updated 1 year ago
Text Selection with Elements Styled with user-select: none
Categories
(Core :: DOM: Selection, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: ivanq2191, Unassigned)
Details
Attachments
(1 file)
|
3.47 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Steps to reproduce:
- Open the attached HTML file.
- Use the mouse to select text anywhere in the document.
- Use the keyboard to expand the selection (e.g., using the arrow keys, shift + up/down).
- Ensure the selection includes an element styled with user-select: none.
Change the direction of the text selection (e.g., from up to down or vice versa).
Actual results:
When the selection reaches the boundary of the user-select: none element, it stops removing the text selection.
Expected results:
The text selection should continue seamlessly across the boundary of the user-select: none element, even when changing the direction of the selection. The selection behavior should not be interrupted by the presence of elements with user-select: none.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Updated•1 year ago
|
Severity: -- → S3
Component: DOM: Core & HTML → DOM: Selection
You need to log in
before you can comment on or make changes to this bug.
Description
•