Re: Partial review of DOM 3 Events

On 09/10/2010 12:58 PM, Simon Pieters wrote:
> Here's a partial review of DOM 3 Events
> What's the use case for extended feature strings for event types
> (hasFeature('', ''))? Opera, WebKit and Gecko don't support
> this. [1]

Use case is to detect whether the browser claims to dispatch such
(trusted) events.
     if (element.onfoo) { ... }
is occasionally used for detecting support for some events, but that 
doesn't really work since not all events have onfoo event listeners.

(And note, DOM 3 Events isn't just trying to document what is currently


Received on Wednesday, 6 October 2010 17:58:52 UTC