Closed Bug 1677254 Opened 4 years ago Closed 4 years ago

Make select events from input/textarea.select() noncancelable

Categories

(Core :: DOM: Selection, defect)

defect

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Per the spec it should not be cancelable:

If the previous steps caused the selection of the text control to be modified (in either extent or direction), then queue an element task on the user interaction task source given the element to fire an event named select at the element, with the bubbles attribute initialized to true.

Fixing this also makes select event more consistent, as the same event from dragging text is already noncancelable.

Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1a43f1575f2f Make select event from select() uncancelable r=masayuki
Severity: -- → S3
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: