W3C home > Mailing lists > Public > public-webapi@w3.org > February 2006

[DOM3 Events]: Current UA extensions to the Event interface

From: Maciej Stachowiak <mjs@apple.com>
Date: Sat, 11 Feb 2006 18:28:17 -0800
Message-Id: <B3E19F42-B4C1-40DE-8EDA-A149F3FA0C1D@apple.com>
To: public-webapi@w3.org


I thought it would be useful to find what nonstandard extensions  
various UAs make to DOM Level 3 Events interfaces, to see if any of  
them are worth adding

For starters, here's the Event interface:

Internet Explorer:
---------------------

The Event object is documented as having a huge number of extra  
properties: http://msdn.microsoft.com/workshop/author/dhtml/reference/ 
objects/obj_event.asp

It's hard to tell which of these are supposed to apply to all events  
and which only to specific event types, since the documentation does  
not draw the distinction.

Mozilla/Gecko:

- none that I could find in the IDL

Safari/WebKit:

- in the source I found the following:

srcElement - clone of the nonstandard IE extension srcElement, an  
alias for target
returnValue - clone of the nonstandard IE extension returnValue, this  
is a read-write property that lets you get and set whether default is  
prevented. This lets you un-prevent default, something not allowed in  
the standard DOM event model.
cancelBubble - similar to returnValue, but for stopPropagation
dataTransfer - this appears to be applicable only to drag & drop  
events, probably a mistake that it is in the Event interface
clipboardData - similarly, but for clipboard events

I don't think I would recommend any of the Safari extensions for  
standardization


I could not find the corresponding info for Opera.

I'll try to do the same research for other event interfaces over time.

Regards,
Maciej
Received on Sunday, 12 February 2006 02:28:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:53 GMT