[whatwg] Clarification on canceling events
Ian Hickson
ian at hixie.ch
Tue Nov 30 16:53:16 PST 2010
On Mon, 23 Aug 2010, Andrew Oakley wrote:
>
> Section 7.1.6.1 (Event handlers) says "the event must be canceled".
> This seems a little unclear to me, I assume this means preventDefault()
> rather than stopImmediatePropagation() or stopPropagation().
This intentionally uses the same terminology as preventDefault()'s
definition:
http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-event-type-preventDefault
> Is it possible for HTML5 to either reference these parts of DOM Events
> or more of the language that D3E uses (e.g. say that the default actions
> should not occur, but propagation continues)?
The verb "to cancel" seems to be the operative terminology used by the
DOM3 Events specification for this.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list