Export (0) Print
Expand All

2.1.9 [DOM Level 2 - Events] Section 1.6.2, Mouse event types

V0032:

The specification states:

A DOM application may use the hasFeature(feature, version) method of the 
DOMImplementation interface with parameter values "MouseEvents" and "2.0" 
(respectively) to determine whether or not the Mouse event module is supported by 
the implementation. In order to fully support this module, an implementation must 
also support the "UIEvents" feature defined in this specification. Please, refer to 
additional information about conformance in the DOM Level 2 Core specification 
[DOM Level 2 Core].

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

The hasFeature(sFeature [, vVersion]) method does not recognize MouseEvents as a valid value for sFeature or 2.0 as a valid value for vVersion.

V0033:

The specification describes the MouseEvent interface.

Quirks Mode and IE7 Standards Mode (All Versions)

The MouseEvent interface is not supported.

The MSEventObj interface provides similar functionality to MouseEvent, with the following differences in behavior:

  • To handle initialization, event object properties are read-only after the fireEvent method is called.

  • The button attribute has additional possible values that allow for a mouse with a middle button.

  • The clientX and clientY attributes each apply +2 pixels to the location of the border edge of the content area.

  • The mouseout event is not cancellable.

IE8 Mode (All Versions)

The MouseEvent interface is not supported.

The MSEventObj interface provides similar functionality to MouseEvent, with the following differences in behavior:

  • To handle initialization, event object properties are read-only after the fireEvent method is called.

  • The button attribute has additional possible values that allow for a mouse with a middle button.

  • The mouseout event is not cancellable.

Show:
© 2014 Microsoft