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)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WORKSFORME
| Tracking | Status | |
|---|---|---|
| firefox52 | --- | wontfix |
People
(Reporter: bzbarsky, Unassigned)
Details
(Whiteboard: [domcore-bugbash-triaged])
Attachments
(1 file)
|
168 bytes,
text/html
|
Details |
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)
Comment 1•9 years ago
|
||
Too late for firefox 52, mass-wontfix.
Updated•9 years ago
|
Flags: needinfo?(bugs)
Priority: -- → P3
Comment 2•5 years ago
|
||
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
Comment 3•2 years ago
|
||
[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]
Comment 4•2 years ago
|
||
Comment 5•2 years ago
|
||
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.
Description
•