Open saschanaz opened 3 years ago
Demo: https://software.hixie.ch/utilities/js/live-dom-viewer/saved/12265
As far as I can tell, Chrome, Safari and Firefox only fire select
event for input
and textarea
elements, which is required in HTML:
https://html.spec.whatwg.org/#set-the-selection-range https://html.spec.whatwg.org/#the-input-element-as-a-text-entry-widget https://html.spec.whatwg.org/#the-textarea-element-2
Thus I think the select
event can be removed completely from the UI Events spec.
None of Gecko, Blink nor WebKit uses UIEvent for select events at HTML input/textarea elements, even when it's from user input devices, when the spec says:
Should the spec be changed, or is there a good reason to force UIEvent?