Skip to content

Commit

Permalink
Fix for w3c#223, specify event constructing steps
Browse files Browse the repository at this point in the history
  • Loading branch information
smaug committed Dec 22, 2021
1 parent 90b2fa5 commit 4f5ec20
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,12 @@ <h2><code>PointerEvent</code> interface</h2>
</dd>
</dl>

<p>The <dfn>PointerEventInit</dfn> dictionary is used by the {{PointerEvent}} interface's constructor to provide a mechanism by which to construct untrusted (synthetic) pointer events. It inherits from the {{MouseEventInit}} dictionary defined in [[UIEVENTS]]. The [=event constructing steps=] are defined in the [[[DOM]]]. See the <a href="#examples" title="examples">examples</a> for sample code demonstrating how to fire an untrusted pointer event.</p>
<p>The <dfn>PointerEventInit</dfn> dictionary is used by the {{PointerEvent}} interface's constructor to provide a mechanism by which to construct untrusted (synthetic) pointer events. It inherits from the {{MouseEventInit}} dictionary defined in [[UIEVENTS]]. See the <a href="#examples" title="examples">examples</a> for sample code demonstrating how to fire an untrusted pointer event.</p>

<p>The [=event constructing steps=] for <dfn>PointerEvent</dfn>
clones <a>PointerEventInit</a>'s <code>coalescedEvents</code> to <a>coalesced event list</a> and
clones <a>PointerEventInit</a>'s <code>predictedEvents</code> to <a>predicted event list</a>.</p>


<div class="note">The <code>PointerEvent</code> interface inherits from {{MouseEvent}}, defined in [[[UIEVENTS]]].
Also note the proposed extension in [[[CSSOM-VIEW]]], which changes the various coordinate properties from <code>long</code>
Expand Down

0 comments on commit 4f5ec20

Please sign in to comment.