Re: Please Review mouseover, mouseout, mouseenter, and mouseleave

On Thu, Sep 10, 2009 at 2:25 PM, Doug Schepers <schepers@w3.org> wrote:

[snip]

> [1]
> http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-mouseevents


| To create an instance of the MouseEvent interface,
| use the DocumentEvent.createEvent("MouseEvent") method call.

The code would be functional if it were to call |createEvent| on an
*instance* of DocumentEvent, and that could be marked up as:

<code><var>document</var>.createEvent("MouseEvent");</code>

| Note: When initializing MouseEvent objects using initMouseEvent
| or initMouseEventNS, implementations should use the client
| coordinates clientX and clientY for calculation of other
| coordinates (such as target coordinates exposed by DOM Level 0
| implementations).

Add:

| ... (such as target coordinates exposed by DOM Level 0
| implementations or other proprietary properties e.g.|pageX|).


I had thought that |canDispatch| was out and I agreed with removing
it. What is the reason for it?

Garrett

Received on Thursday, 10 September 2009 22:20:57 UTC