- From: smaug---- <notifications@github.com>
- Date: Tue, 01 Dec 2015 07:58:31 -0800
- To: w3c/uievents <uievents@noreply.github.com>
- Message-ID: <w3c/uievents/issues/61@github.com>
(1) "The click event MAY be preceded by the mousedown and mouseup events on the same element, disregarding changes between other node types (e.g., text nodes)." (2) "Each implementation will determine the appropriate hysteresis tolerance, but in general SHOULD fire click and dblclick events when the event target of the associated mousedown and mouseup events is the same element with no mouseout or mouseleave events intervening, and SHOULD fire click and dblclick events on the nearest common inclusive ancestor when the associated mousedown and mouseup event targets are different." (1) requires mousedown/up happening on the same element, (2) doesn't. Also, (2) is vague. Why the requirement for "with no mouseout or mouseleave events intervening" when the other case doesn't have such limitation but just "on the nearest common inclusive ancestor when the associated mousedown and mouseup event targets are different." Also, at which point is "nearest common inclusive ancestor" calculated? Does UA need to store event target chain when mousedown is dispatched and then compare it to the event target chain of mouseup? What if mousedown's target is moved from document A to document B, and mouseup happens over target when it is in document B. document B wouldn't have got mousedown, but gets mouseup and click? --- Reply to this email directly or view it on GitHub: https://github.com/w3c/uievents/issues/61
Received on Tuesday, 1 December 2015 15:59:08 UTC