diff --git a/index.html b/index.html index 1a4a7c2..1b0d819 100644 --- a/index.html +++ b/index.html @@ -899,6 +899,66 @@
Otherwise (|event| is a click or auxclick event for which |userEvent| is a pointerup event that was dispatched uncaptured) let |target| be the nearest common inclusive ancestor of the corresponding pointerdown and pointerup targets in the DOM at the moment |event| is being dispatched.
If |event| is a click event, then:
Let |pointerDownTarget|, |pointerDownX|, |pointerDownY|, |pointerUpTarget|, |pointerUpX|, and |pointerUpY| each be null.
+If |event| had corresponding pointerdown and pointerup events preceding it, then:
Set |pointerDownTarget| to the corresponding pointerdown event's event target.
Set |pointerDownX| to the corresponding pointerdown event's clientX.
Set |pointerDownY| to the corresponding pointerdown event's clientY.
Set |pointerUpTarget| to the corresponding pointerup event's event target.
Set |pointerUpX| to the corresponding pointerup event's clientX.
Set |pointerUpY| to the corresponding pointerup event's clientY.
Otherwise:
+Set |pointerDownTarget| and |pointerUpTarget| to |event|'s event target.
+Set |pointerDownX| and |pointerUpX| to |event|'s clientX.
Set |pointerDownY| and |pointerUpY| to |event|'s clientY.
Run light dismiss activities given |pointerDownTarget|, |pointerDownX|, |pointerDownY|, |pointerUpTarget|, |pointerUpX|, and |pointerUpY|.
+Dispatch |event| to |target| following the [[UIEVENTS]] spec.