-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
input-event: Consistent support status #4675
base: main
Are you sure you want to change the base?
Conversation
…ld be too. See the pull request for more rationales.
It's often tricky to decide what counts as partial support and what's just a bug...the reason it's the way it is is because I believe the "input" event on text fields is significantly more useful and used by developers than the event is on those other fields (where the "change" event works well enough). Because of this, to save developers from spending time figuring out why support for most browsers is "partial" it's just considered a bug for the other fields. Do you have reason to believe the bugs are significant enough to warrant partial support? |
Thanks for the comment. I have a feeling this might be blown into a totally different one, but nonetheless here are my thoughts. I do understand where your thoughts come from. However, to me the reason itself sounds a bit arbitrary and specific only to this feature. How much of a feature should a browser support to be considered a full support? How much usage should that specific portion of a feature have? Maybe we should gather the usage data to determine the threshold... These questions are so tricky to answer, and the solutions themselves get too much complicated. Personally, something that shows "Partial Support" has been an immediate yellow flag (quite literally) that forces me to learn more before writing any more code. I believe that the immediacy—and the repulse that follows—is what makes Can I Use incredibly useful to web developers. This case as an example: Those who implement I think the issue boils down to the fact that "Partial Support" is somewhat ill-defined. In my opinion, a browser supports a feature "partially" when it omits a sub-feature of a given feature, where the feature itself is described by the reference specification, which might change over time. The feature has "a bug/issue" when the implemented sub-feature behaves wrongly or erratically (returning unexpected results) or maybe differently (unlike other browsers). I see most of the features on Can I Use already fit this definition. Some features that came all the way from the old days of no spec at all would be very tricky for sure though. I'd love to hear any thoughts on this. I hope my intention went through the language barrier intact. |
caniuse/features-json/datalist.json Lines 374 to 378 in 27a65d6
Adding to this as a reference: Some of the entries read "partial support due to a bug" which is not consistent with the (implicit) policy. |
IE9 and Firefox 3 have been considered "partial support" due to the note 1 and 2, respectively. The other notes 3 4 5 are not much different from 1 and 2, so the corresponding browsers should also be "partial support."
Technical rationale
input
event is "fired at controls when the user changes the value."select
element firesinput
event.<input type="file">
firesinput
event.input
event.