-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
What type of issue is this?
Incorrect support data (example: Chrome says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
Both MDN and caniuse report that the cancel_event of the HTMLInputElement is not available in Chrome and Safari.
What browsers does this problem apply to, if applicable?
Chromium (Chrome, Edge 79+, Opera, Samsung Internet), Safari
What did you expect to see?
The cancel_event seems to be available in Chrome and Safari from:
- Chrome: 113 (May '23)
- Safari: 16.4 (March '23)
Did you test this? If so, how?
I've been following this API for a while, and we're about to start using it in the Flutter framework (PR).
My "test" is not very scientific, and there's also some implementation differences across browsers in the implementation of the event (especially when interacting with the same input element multiple times) that might be worthy of documentation as well.
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
- Affected file in this repo:
api/HTMLInputElement.json - MDN page: HTMLInputElement - Browser Compatibility
- Browser information:
- Chrome:
- Implementation bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1227424
- Release notes: Here, but they don't mention the feature. Listed in the full changelog.
chrome/VERSION@ fix: 113.0.5616
- Safari:
- Implementation bug: https://bugs.webkit.org/show_bug.cgi?id=227799
- Release notes: https://developer.apple.com/documentation/safari-release-notes/safari-16_4-release-notes#Forms
Added support for the
cancelevent on<input type="file">.
- Chrome:
Do you have anything more you want to share?
No response
MDN URL
No response
MDN metadata
No response