Closed Bug 1316982 Opened 10 years ago Closed 2 years ago

"select" events on text controls should not be cancelable and should fire async

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox52 --- wontfix

People

(Reporter: bzbarsky, Unassigned)

Details

(Whiteboard: [domcore-bugbash-triaged])

Attachments

(1 file)

At least as far as I can tell per spec that's how it should work. This testcase: <!DOCTYPE html> <input value="aaa"> <script> var i = document.querySelector("input"); i.onselect = function(e) { e.preventDefault(); } i.select(); </script> does not prevent selection in Chrome, either on initial load or on tabbing to the input...
Flags: needinfo?(bugs)
Too late for firefox 52, mass-wontfix.
Flags: needinfo?(bugs)
Priority: -- → P3

Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: P3 → P5

[domcore-bugbash-triaged] Doing domcore random bug triage - Firefox 128 behaves differently than Chrome on initial load . We still need to investigate what the expected behavior is.

Edgar, please help us post your testing result. Thanks

Severity: S4 → S3
Flags: needinfo?(echen)
Whiteboard: [domcore-bugbash-triaged]
Attached file test.html —

Hmm, I don't know why I got different behave on initial load during the triaged meeting, but now I can not reproduce.
Let's close this as WORKSFORME for now.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(echen)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: