prototype: Restrict Event.DOMEvents to include only events that can be supported in all browsers

This commit is contained in:
Sam Stephenson 2007-08-11 18:14:20 +00:00
parent ffa744e4aa
commit d7da841c80
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,7 @@
*SVN*
* Restrict Event.DOMEvents to include only events that can be supported in all browsers. [sam]
* Fix a failing test in base.html in Safari 2. [Tobie Langel]
* Fix Element#positionedOffset and Element#getOffsetParent for static elements on IE. [Thomas Fuchs]

View File

@ -19,11 +19,7 @@ Object.extend(Event, {
DOMEvents: ['click', 'dblclick', 'mousedown', 'mouseup', 'mouseover',
'mousemove', 'mouseout', 'keypress', 'keydown', 'keyup',
'load', 'unload', 'abort', 'error', 'resize', 'scroll',
'select', 'change', 'submit', 'reset', 'focus', 'blur',
'DOMFocusIn', 'DOMFocusOut', 'DOMActivate',
'DOMSubtreeModified', 'DOMNodeInserted',
'NodeInsertedIntoDocument', 'DOMAttrModified',
'DOMCharacterDataModified'],
'select', 'change', 'submit', 'reset', 'focus', 'blur'],
cache: { },