This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21265 - Be more strict/clear for 'explicit commit action' for the change event
Summary: Be more strict/clear for 'explicit commit action' for the change event
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 editorial
Target Milestone: ---
Assignee: Robin Berjon
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 13:08 UTC by Alexander Farkas
Modified: 2016-04-21 22:29 UTC (History)
5 users (show)

See Also:


Attachments

Description Alexander Farkas 2013-03-13 13:08:15 UTC
The bug explains the explicit commit action with two examples. (see: http://www.w3.org/TR/html5/forms.html#event-input-change) In the second example it says:

"... a Date control that allows both text-based user input and user selection from a drop-down calendar: while text input might not have an explicit commit step, ..."

I think the "might" should be changed to either "should" or "must". i.e.:

"... a Date control that allows both text-based user input and user selection from a drop-down calendar: while text input *must* not have an explicit commit step, ..."

It would be also great to explain an explicit commit action in case of an input[type="range"]. Because both current examples involve a "popover menu" (file select, date calendar). While a range has a totally different UI. For example, while the user holds the mouse and is dragging, he hasn't commited a change (only input event occurs). As soon as the user releases his mouse button (mousup, touchend, keyup etc.), he has commited a change.
Comment 1 Travis Leithead [MSFT] 2016-04-21 21:37:47 UTC
Looking at: https://jsfiddle.net/a5hsz3j6/ to see how this works in browsers today...
Comment 2 Travis Leithead [MSFT] 2016-04-21 22:29:12 UTC
HTML5.1 Bugzilla Bug Triage: I believe I've given this a shot at commit: https://github.com/travisleithead/html/commit/2e4e670f04a938686fc0703bf54d4b9ebf8ccee6

I also added a third example. Apologies that this commit also has a trailing whitespace cleanup as well. Your changes are only around the relevant spec text not spread out anywhere else...

(This PR is not yet merged; comments welcome.)

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!