- From: Rick Byers via GitHub <sysbot+gh@w3.org>
- Date: Thu, 05 May 2016 14:53:14 +0000
- To: public-pointer-events@w3.org
Thanks Dave! > Hit testing and calling elementFromPoint inside the event handler itself are likely of equivalent cost? Yes. However it's possible that manual use of `elementFromPoint` could trigger an extra layout (if you're not careful to order your DOM reads/writes) that (depending on if/how the browser aligns input with the document lifecycle) might be avoidable in the built-in hit-testing case. In the real pathological cases it's often the layout that's really expensive, not the hit-test itself. But I don't think this is likely to be a big issue in practice. > the "you may or may not get transition events" aspect of it might not be good from a documentation standpoint? Agreed, that would be ugly and confusing (would only exacerbate the "transition events have 2 fundamentally different semantics" concern). -- GitHub Notification of comment by RByers Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/61#issuecomment-217175260 using your GitHub account
Received on Thursday, 5 May 2016 14:53:16 UTC