Re: [pointerevents] Changing the DOM hierarchy while handling a "pointerenter" event produces significantly different results across browsers (#285)

`pointerleave` isn't fired on a parent element when a child is removed and the pointer is out of the parent's bound.

[example](https://flems.io/#0=N4IgzgpgNhDGAuEAmIBcIB0sxhAGhADMBLGXVAbVADsBDAWwjUwAt56p8RYB7axfswA61ADxJiANwAExJAF4ACrQBOEfgD4R06crX9t08VNkKAwi1JIt1HTotXDogPQTJNl241dIMBMT5yEABmVABGMJAAXzwaBiZ0DAArXAJefnV4Zj1MjD4ABx5iDP1EFWl5aQAKCEkASnkNdLAeGAwoHgBzKoByfNVM6UyIFR66kREc-jzqQuKymFpJCArq2oamwNaIdq7e-tLpReWxieoHKCQZuZLh8sqqjeBDfN7YS0uhktPbaQurtT0HjLR4iKI+aBweABahBAAs4WisRAdEYzCwOC46QEWXQbmkz1+ACNaLAANadFQ8ACu1CQqGkAGJCAAGFlwgDcYJEjKm8EJOhYEGInTYDOCLPyAA8udQojz-gSXjwwMRoXwGbQiS0oNTELLBcLRfAGQBWSUysEQvzq2HMACciKiAF0okA) (hover over the child, coming from below).

This is consistent among browsers, but surprising for tracking pointers and "hover" state.

-- 
GitHub Notification of comment by pygy
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/285#issuecomment-2009378924 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 20 March 2024 11:44:49 UTC