Skip to content

Commit

Permalink
Correct element click actions list (#1779)
Browse files Browse the repository at this point in the history
* Correct element click actions list

element click is erroneously defined as `«pointer move action, pointer down action, pointer move action».` but should obviously be `«pointer move action, pointer down action, pointer up action».` making use of the pointer up action defined

* Correct element click pointer up action's id

The pointer id of pointer up action should be "pointer" to match the pointer move and pointer down actions pointer ids
  • Loading branch information
dten authored Dec 13, 2023
1 parent e91f9d8 commit 8e382d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5919,13 +5919,13 @@ <h4><dfn>Element Click</dfn></h4>

<li><p>Let <var>pointer up action</var> be an <a>action
object</a> constructed with arguments <var>input id</var>,
"<code>mouse</code>", and "<code>pointerUp</code>" as arguments.
"<code>pointer</code>", and "<code>pointerUp</code>" as arguments.

<li><p><a>Set a property</a> <code>button</code>
to <code>0</code> on <var>pointer up action</var>.

<li><p>Let <var>actions</var> be the list «<var>pointer move
action</var>, <var>pointer down action</var>, <var>pointer move
action</var>, <var>pointer down action</var>, <var>pointer up
action</var>».

<li><p><a>Dispatch a list of actions</a> with <var>input
Expand Down

0 comments on commit 8e382d2

Please sign in to comment.