- From: Pierre-Yves Gérardy via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Mar 2024 06:12:13 +0000
- To: public-pointer-events@w3.org
If it were to fire, `pointerout` wouldn't be reliable either because it bubbles and can be cancelled before reaching its target. But `pointerout` doesn't [fire on the child in Chrome](https://flems.io/#0=N4IgZglgNgpgziAXAbVAOwIYFsZJAOgAsAXLKEAGhAGMB7NYmBvAHTQB4ATCANwAIInALwAFDACcmxAHxs+fMZIZy+XXgOEBhQtE6y08+dt0r2Aem4995y9Mog4MWNWIR6CRCADMiAIy+QAF8KdGxcT3wAKwQqOgYpPEUpfHoAB1oIePFaHhhxPiE+AAoYHgBKIWk4uFpYfChaAHMigHJUiSk+HLyWsrY2JIYUtHTMxmyAV2IC4tKKqvdamHqm1valadop3v60YyhOYdGs7vzCovngFVTW6h0DrtzxHYM+fcPJLG6LtkC2d6OGROUxmF0qV1eNxad10XW2fTQgXsjmcrnceAArH4MUEQiBMDg8PhqHAYjR6IxmJ5LHwIfIAEYYagAa0akzQnEQfAAxGAAAx8gAsAG5fmxuYNiHS+IQYBBGiQuV4+akAB6ixHi960660OAQNFoLkYek1KBTGAa+Sy+WKvi+AVqq18ADugmIhC5DpV6rYZgAVIYMGgIFgMIalXA+FBMjAJPao5lICHGHwMFBxphU19csK+P6zGK0GwAALMmAATzA4jCUZzMB1r2ItFpxBraDgUHDMC5fL4ACZHaq-ojkU4YC43B28A6-P2ggBdQJAA). Also, it doesn't necessarily fires on the parent if its boundary isn't crossed. The parent sees the event passing by while capturing/bubbling (or doesn't if the element has been removed). For `pointerleave`, in the example with the moving element, the pointer hasn't moved off the element either. In both cases the element has been moved away from the pointer, in one case out of the document. It would be nice if the platform provided a reliable way to track what the pointer is hovering at any point given a dynamic document. That state is [already being tracked](https://flems.io/#0=N4IgzgpgNhDGAuEAmIBcIB0sxhAGhADMBLGXVAbVADsBDAWwjUwAt56p8RYB7axfswA61ADxJiANwAExJAF4ACrQBOEfgD4R06crX9t08VNkKAwi1JIt1HTotXDogPQTJNl241dIMBMT5yEAAWVABOEABfPBoGJnQMACtcAl5+dXhmPQyMPgAHHmJ0-UQVaXlpAAoISQBKeQ00sB4YDCgeAHNKgHI81QzpDIgVbtqREWz+XOoCotKYWkkIcqqa+sbAlog2zp6+kukFpdHx6gcoJGnZ4qGyisr14EM8nthLC8Hik9tpSHgAFWIjB4AFd4JUHg1zpc1PQeEsHnhpAAmAAMqLG1BEkRE0KuhWKR2W90ez1e7yQhwgiwg30iPmgcHgAWoQQAzKhUVEYiA6IxmFgcFw0gJMug3NInj8AEa0WAAaw6KlB1CQqGkAGJCOjggBubEiDWTeBSnQsCDEDpsdVs1F5AAe+p+BuoRv6-FQLFoYEqGg10M98OGtUlhllCqVKrVmtR2oAbE6ca7oaGfgUwMRmXx1bRpc0oGCIE6zRarfB1QBGdEO4vSADucngLEr1cdLv9FMDSzKpuk4cVypBqvVGtjqITLoAAvKIABPQgqOJgaRwpapnTwHiS+CL1lQWiIdWolGtpP0gi+JksoIVgCsqArUQAupEgA) by the browser for applying CSS. -- GitHub Notification of comment by pygy Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/285#issuecomment-2011290093 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 21 March 2024 06:12:14 UTC