[Webkit-unassigned] [Bug 18652] onchange events don't seem to fire for input[type=range] controls.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 26 13:24:35 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18652





------- Comment #2 from mjs at apple.com  2008-04-26 13:24 PDT -------
This is what Web Forms 2 says about the "change" event:

> In [DOM3EVENTS] and [HTML4], the change event is fired on a form control element when the control
> loses the input focus and its value has been modified since gaining focus.
>
> This specification changes these semantics to more accurately reflect the behaviour expected by Web
> authors. Specifically, for controls implemented with a non-editable stateful UI (e.g. select elements,
> checkboxes, or radio buttons as deployed in typical desktop Web browsers), the change event shall
> be fired when the selection is completed, even if the control does not lose focus. (For example, if a 
> date control has a button which shows a calendar, then the change event would fire when the
> calendar is closed after the user selected a date.)

It's not entirely clear if it means the "change" event to apply even to
controls that never take focus at all, but I gues that would make sense and
would match checkboxes and radio buttons.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list