[whatwg] [wf2] change event is not cancelable

Anne van Kesteren fora at annevankesteren.nl
Mon Dec 5 12:28:22 PST 2005


Quoting Ian Hickson <ian at hixie.ch>:
>> <http://whatwg.org/specs/web-forms/current-work/#the-click>
>>
>> # If the default action of any of these events is canceled,
>> # the value of the properties changed must be changed back
>> # to their original value.
>>
>> Could you make it more clear that this solely applies to 'input' and
>> 'DOMActivate'. (And not to the 'change' event.)
>
> It applies to all the events mentioned in that section, namely click,
> DOMActivate, and change. Where's the ambiguity? I'm confused. Why would it
> not apply to 'change'?

Because per DOM3Events 'change' can not be canceled. (That is in fact
implemented.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>




More information about the whatwg mailing list