Open
Bug 1742153
Opened 3 years ago
Updated 2 years ago
selectstart event does not fire for Select All command
Categories
(Core :: DOM: Selection, defect)
Tracking
()
NEW
People
(Reporter: govett, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15
Steps to reproduce:
- Load https://codepen.io/devongovett/pen/MWvxreN
- Focus the content editable element
- Press Ctrl/Cmd + A or use the Select All command in the Edit menu
Actual results:
The text is selected, and a selectstart event is not fired (nothing is logged in the console).
Expected results:
The selectstart event should be fired. Selection should be prevented due to the preventDefault
in the selectstart event. This behavior is consistent on Chrome and Safari.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Selection' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Component: Untriaged → DOM: Selection
Product: Firefox → Core
Updated•3 years ago
|
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in
before you can comment on or make changes to this bug.
Description
•