Re: [w3c/uievents] Need algorithm for how mouse events are fired (#196)

This runs into the tricky area of hit-testing, which we probably should leave for another time. But we'll want to at least roughly gesture in the direction of what "into element A" / "out of element A" mean.

For example, one interpretation is that given A nested inside B nested inside C, you're moving into A, B, and C, each of which fires a bubbling event, so that you get three mouseovers on C (1 directly + 1 bubbled from A + 1 bubbled from B). I'm pretty sure that's not what browsers do. Is the algorithm instead something like "the deepest thing in the DOM tree"?

-- 
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/196#issuecomment-379960295

Received on Tuesday, 10 April 2018 03:14:18 UTC