Re: Make mouseenter/mouseleave behavior optional

On Tue, Nov 20, 2012 at 6:57 PM, Jacob Rossi <Jacob.Rossi@microsoft.com>wrote:

> I agree that mouseenter/mouseleave should not be required if a UA doesn't
> implement them. In fact, neither should
> mousedown/mouseup/mousemove/mouseover/mouseout. I consider the section on
> mouse events purely for compat with legacy content. You could imagine a UA
> that doesn't have legacy content to deal with and just wants to implement
> pointer. Once we have an issue tracker, we should add this.


Yes, in my mind, the future will be pointer only. Even if UAs still
implement mouse for legacy content, authors should never write new code
using mouse and they should never use the APIs for controlling whether
pointer events are promoted to mouse events. If the entire mouse-related
API could be in its own section and not required, that would be ideal.

Received on Monday, 26 November 2012 16:20:40 UTC