Skip to content
Permalink
Browse files

Meta: export some event loop-related definitions

This allows Bikeshed-using specifications to autolink to "event loop
processing model" and to "update the rendering". A particular consumer
is https://github.com/WICG/paint-timing.
  • Loading branch information...
domenic authored and annevk committed Jul 13, 2017
1 parent 15b258d commit b0da8d31269485c5ff794912dff354c5d966900b
Showing with 5 additions and 4 deletions.
  1. +5 −4 source
9 source
microtask checkpoint</dfn> flag, which must initially be false. It is used to prevent reentrant
invocation of the <span>perform a microtask checkpoint</span> algorithm.</p>

<h5 id="event-loop-processing-model"><span id="processing-model-8"></span>Processing model</h5>
<h5 id="event-loop-processing-model" data-lt="event loop processing model" data-dfn-type="dfn"
data-export=""><span id="processing-model-8"></span>Processing model</h5>
<!-- EVENT LOOP -->

<p>An <span>event loop</span> must continually run through the following steps for as long as it
<li><p><i>Microtasks</i>: <span>Perform a microtask checkpoint</span>.</p></li>

<li>
<p><dfn>Update the rendering</dfn>: If this <span>event loop</span> is a <span>browsing
context</span> <span>event loop</span> (as opposed to a <a href="#workers">worker</a>
<span>event loop</span>), then run the following substeps.</p>
<p><dfn data-export="">Update the rendering</dfn>: If this <span>event loop</span> is a
<span>browsing context</span> <span>event loop</span> (as opposed to a <a
href="#workers">worker</a> <span>event loop</span>), then run the following substeps.</p>

<ol>
<li><p>Let <var>now</var> be the value that would be returned by the <code>Performance</code>

0 comments on commit b0da8d3

Please sign in to comment.
You can’t perform that action at this time.