Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pointerrawupdate as a ContinuousEvent #23

Merged
merged 1 commit into from
Feb 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h2>ContinuousEvents</h2>
<p class="note">The distinction between <a>ContinuousEvents</a> and other event types exists in order to prevent script from yielding too often. Under normal circumstances, a user moving their pointer around on a document wouldn’t expect that to have any effect on performance so by default these events are excluded from <a data-link-for="Scheduling">isInputPending</a>. However, there may be times when a document wants to yield for these events.</p>
<section>
<h3><dfn data-lt="ContinuousEvents">ContinuousEvent</dfn></h3>
<p>An event MUST be considered a <code>ContinuousEvent</code> if it is a <dfn data-cite="dom#dom-event-istrusted">trusted event</dfn> of type <dfn data-cite="uievents#event-type-mousemove">mousemove</dfn>, <dfn data-cite="uievents#event-type-wheel">wheel</dfn>, <dfn data-cite="touch-events#the-touchmove-event">touchmove</dfn>, <dfn data-cite="html#dragevent">drag</dfn>, or <dfn data-cite="pointerevents#the-pointermove-event">pointermove</dfn> or a child of any of those. A user agent MAY consider other trusted events that are of a specific type and are children of <a>UIEvent</a> or <a>TouchEvent</a> to be a <code>ContinuousEvent</code> as long as those specific types are consistent for that user agent and that all events of those types or children of those types are considered <code>ContinuousEvents</code>.</p>
<p>An event MUST be considered a <code>ContinuousEvent</code> if it is a <dfn data-cite="dom#dom-event-istrusted">trusted event</dfn> of type <dfn data-cite="uievents#event-type-mousemove">mousemove</dfn>, <dfn data-cite="uievents#event-type-wheel">wheel</dfn>, <dfn data-cite="touch-events#the-touchmove-event">touchmove</dfn>, <dfn data-cite="html#dragevent">drag</dfn>, <dfn data-cite="pointerevents3#the-pointermove-event">pointermove</dfn>, or <dfn data-cite="pointerevents3#the-pointerrawupdate-event">pointerrawupdate</dfn> or a child of any of those. A user agent MAY consider other trusted events that are of a specific type and are children of <a>UIEvent</a> or <a>TouchEvent</a> to be a <code>ContinuousEvent</code> as long as those specific types are consistent for that user agent and that all events of those types or children of those types are considered <code>ContinuousEvents</code>.</p>
<p class="note">All of event types that are considered to be <code>ContinuousEvents</code> are specified in such a way where they are fired successively, and the user agent is encouraged to fire the events at a rate specific for the user agent and platform. The language about a user agent being able to include other event types is there so user agents that have nonstandard events that are defined in a similar manner may also be considered to be <code>ContinuousEvents</code>.</p>
</section>
<section>
Expand Down