From 629163e910748e41ccdb4f5b11d537c0ce955922 Mon Sep 17 00:00:00 2001 From: ChernyshevDS Date: Fri, 28 Jun 2024 21:49:21 +0300 Subject: [PATCH] Fixed parameter name in "Dispatch a pointerDown action" paragraph (#1817) (#1820) Incorrect parameter name "input state" was replaced with "source" Co-authored-by: daniilch --- index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 5a9b15a0..560f7fd7 100644 --- a/index.html +++ b/index.html @@ -9738,7 +9738,7 @@

Keyboard actions

Pointer actions

To dispatch a pointerDown action given - action object, input state, global key + action object, source, global key state, tick duration, browsing context, and actions options: @@ -9749,17 +9749,17 @@

Pointer actions

  • Let button be equal to action object's button property. -

  • If the input state's pressed property +

  • If the source's pressed property contains button return success with data null. -

  • Let x be equal to input state's +

  • Let x be equal to source's x property. -

  • Let y be equal to input state's +

  • Let y be equal to source's y property.

  • Add button to the set corresponding to - input state's pressed property, and + source's pressed property, and let buttons be the resulting value of that property.

  • Let width be equal to action object's @@ -9792,7 +9792,7 @@

    Pointer actions

  • Perform implementation-specific action dispatch steps on browsing context equivalent to pressing the button numbered button on the pointer with pointerId equal - to input source's pointerId, having + to source's pointerId, having type pointerType at viewport x coordinate x, viewport y coordinate y, width, height, pressure, tangentialPressure, tiltX,