[DOMCore] extensions to Event

All browsers have some extensions to the basic Event object.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1087

Opera and WebKit have these:

cancelBubble
srcElement

WebKit has these:

clipboardData
returnValue

Webkit and Gecko have these:

MOUSEDOWN
MOUSEUP
MOUSEOVER
MOUSEOUT
MOUSEMOVE
MOUSEDRAG
CLICK
DBLCLICK
KEYDOWN
KEYUP
KEYPRESS
DRAGDROP
FOCUS
BLUR
SELECT
CHANGE

Gecko has these:

originalTarget
getPreventDefault
explicitOriginalTarget
preventBubble
preventCapture
RESET
SUBMIT
SCROLL
LOAD
UNLOAD
XFER_DONE
ABORT
ERROR
LOCATE
MOVE
RESIZE
FORWARD
HELP
BACK
TEXT
ALT_MASK
CONTROL_MASK
SHIFT_MASK
META_MASK

It kind of seems these should be removed from browsers as none of them are  
interoperable. Does anyone think DOM Core should add any of these?


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

Received on Wednesday, 27 July 2011 21:07:02 UTC