- From: Rick Byers via GitHub <sysbot+gh@w3.org>
- Date: Mon, 04 Jul 2016 15:05:51 +0000
- To: public-pointer-events@w3.org
There's two different types of compat competing here: 1. Compat with Edge's existing behavior: it's possible, thought unlikely, that by setting `detail` to non-zero it could break some websites. 2. Compat between `PointerEvent` and `MouseEvent`: it's possible that having detail=0 is breaking some code originally designed for `MouseEvent`. Since Edge has presumably always had this behavior, I'm assuming the risk here is very low. FWIW I consider the use of `detail` for this in UIEvents to be a hack for legacy reasons (very few people understand it, having a property whose semantics vary depending on the event is ugly). Given that Edge has just been using 0, my preference would be to match that behavior. If knowing the click count is actually valuable to anyone (I think it probably is), we should just define a new `clickCount` property to represent it explicitly. -- GitHub Notification of comment by RByers Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/98#issuecomment-230310180 using your GitHub account
Received on Monday, 4 July 2016 15:05:59 UTC