[w3c/uievents] Consider to make mouseenter/leave (and pointerenter/leave) uncomposed (#208)

Webkit has a bug where mouseenter/leave firing depends on existence of event listeners in shadow DOM.
https://bugs.webkit.org/show_bug.cgi?id=188561
Blink seems to have inherited that https://bugs.chromium.org/p/chromium/issues/detail?id=874082 though the code is rather different.

ea.com relies on that broken behavior https://bugzilla.mozilla.org/show_bug.cgi?id=1478959
Gecko follows the current specifications and dispatches two mouseenter events where webkit/blink only one (because there is no event listener inside shadow DOM)

I explicitly don't want the webkit/blink behavior, since it is really weird that dispatching of some event depends on whether there are listeners for it somewhere in composed event path.

But, I wonder, should we make mouseenter/leave (and pointerenter/leave) uncomposed.
Currently one can detect something of the structure of shadow DOM by listening the events - just count how many events there are.

@hayatoito @rniwa @annevk @NavidZ @RByers

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/208

Received on Thursday, 16 August 2018 14:40:41 UTC