Skip to content

Commit

Permalink
task queue is not reliable HTML concept. Use event loop instead (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
plehegar committed Jun 23, 2021
1 parent 612adf2 commit 31a20e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -558,11 +558,11 @@ <h3>The <dfn><code>pointerrawupdate</code> event</dfn></h3>
due to the fact that <code>pointermove</code> events might get aligned with animation frame callbacks and get coalesced, and the final position of the event
which is used for finding the <code>target</code> could be different from its coalesced events.</p>
<p>Note that if there is already another <code>pointerrawupdate</code> with the same <code>pointerId</code> that hasn't been dispatched
in the <a data-cite="html/#task-queue">task queue</a>, the
in the [=event loop=], the
user agent MAY coalesce the new <code>pointerrawupdate</code> with that event instead of creating a new [=task=].
This may cause <code>pointerrawupdate</code> to have coalesced events, and
they will all be delivered as <a>coalesced events</a> of one <code>pointerrawupdate</code> event as soon as
the event is processed in the <a data-cite="html/#task-queue">task queue</a>.
the event is processed in the [=event loop=].
See <code><a data-lt="PointerEvent.getCoalescedEvents">getCoalescedEvents</a></code> for more information.</p>
<p>In terms of ordering of <code>pointerrawupdate</code> and <code>pointermove</code>,
if the user agent received an update from the platform that causes both <code>pointerrawupdate</code> and <code>pointermove</code> events,
Expand Down

0 comments on commit 31a20e4

Please sign in to comment.