Skip to content

Commit 629163e

Browse files
ChernyshevDSdaniilch
andauthored
Fixed parameter name in "Dispatch a pointerDown action" paragraph (#1817) (#1820)
Incorrect parameter name "input state" was replaced with "source" Co-authored-by: daniilch <daniilch@briogroup.ru>
1 parent ebad903 commit 629163e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9738,7 +9738,7 @@ <h4>Keyboard actions</h4>
97389738
<h4>Pointer actions</h4>
97399739

97409740
<p>To <dfn>dispatch a pointerDown action</dfn> given
9741-
<var>action object</var>, <var>input state</var>, <var>global key
9741+
<var>action object</var>, <var>source</var>, <var>global key
97429742
state</var>, <var>tick duration</var>, <var>browsing context</var>,
97439743
and <var>actions options</var>:
97449744

@@ -9749,17 +9749,17 @@ <h4>Pointer actions</h4>
97499749
<li><p>Let <var>button</var> be equal to
97509750
<var>action object</var>&apos;s <code>button</code> property.
97519751

9752-
<li><p>If the <var>input state</var>&apos;s <code>pressed</code> property
9752+
<li><p>If the <var>source</var>&apos;s <code>pressed</code> property
97539753
contains <var>button</var> return <a>success</a> with data <a><code>null</code></a>.
97549754

9755-
<li><p>Let <var>x</var> be equal to <var>input state</var>&apos;s
9755+
<li><p>Let <var>x</var> be equal to <var>source</var>&apos;s
97569756
<code>x</code> property.
97579757

9758-
<li><p>Let <var>y</var> be equal to <var>input state</var>&apos;s
9758+
<li><p>Let <var>y</var> be equal to <var>source</var>&apos;s
97599759
<code>y</code> property.
97609760

97619761
<li><p>Add <var>button</var> to the set corresponding to
9762-
<var>input state</var>&apos;s <code>pressed</code> property, and
9762+
<var>source</var>&apos;s <code>pressed</code> property, and
97639763
let <var>buttons</var> be the resulting value of that property.
97649764

97659765
<li><p>Let <var>width</var> be equal to <var>action object</var>&apos;s
@@ -9792,7 +9792,7 @@ <h4>Pointer actions</h4>
97929792
<li><p><a>Perform implementation-specific action dispatch steps</a>
97939793
on <var>browsing context</var> equivalent to pressing the button
97949794
numbered <var>button</var> on the pointer with pointerId equal
9795-
to <var>input source</var>&apos;s pointerId, having
9795+
to <var>source</var>&apos;s pointerId, having
97969796
type <var>pointerType</var> at viewport x coordinate <var>x</var>,
97979797
viewport y coordinate <var>y</var>, <var>width</var>, <var>height</var>,
97989798
<var>pressure</var>, <var>tangentialPressure</var>, <var>tiltX</var>,

0 commit comments

Comments
 (0)