[whatwg] onchange events for <input type="radio">
ian at hixie.ch
Tue Oct 28 13:54:38 PDT 2008
On Tue, 28 Oct 2008, Boris Zbarsky wrote:
> Ian Hickson wrote:
> > On Thu, 18 Jan 2007, Boris Zbarsky wrote:
> > > There has recently been an interesting Mozilla bug report about onchange
> > > for radio inputs. It seems that UAs interoperably implement something
> > > non-obvious; it may be a good idea to specify it:
> > >
> > > https://bugzilla.mozilla.org/show_bug.cgi?id=363693
> > Done.
> Is http://www.w3.org/html/wg/html5/#event-input-change the relevant spec
The relevant spec text is in several places.
For radio buttons in particular:
# If the element is mutable, then: The pre-click activation steps consist
# of setting the element's checkedness to true. The canceled activation
# steps consist of setting the element's checkedness to false. The
# activation behavior is to fire a simple event called change at the
Most of the terms in that paragraph are to do with (and are hyperlinked
to) the algorithms defined in:
Please let me know if that doesn't make sense, and I'll try to clarify it.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg