Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Nov 12, 2021
1 parent ea2a8da commit 4a1ca89
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -88525,17 +88525,18 @@ new PaymentRequest(…); // Allowed to use
<span data-x="list empty">empty</span>:</p>

<ol>
<li><p>Assert: <var>newDocument</var>'s <span>suspension time</span> is not zero.</p><li>
<li><p>Assert: <var>newDocument</var>'s <span>suspension time</span> is not zero.</p></li>

<li><p>Let <var>suspendDuration</var> be the <span>current high resolution time</span> minus
<var>newDocument</var>'s <span>suspension time</span>.</p></li>

<li><p>Let <var>activeTimers</var> be <var>newDocument</var>'s
<span>relevant global object</span>'s <span>map of active timers</span>.</p></li>

<li><p>Set <var>suspendDuration</var> to the <span>current high resolution time</span> minus
<var>newDocument</var>'s <span>suspension time</span>.</p></li>

<li><p>For each <var>handle</var> in <span>suspended timer handles</span>, if
<var>activeTimers</var>[<var>handle</var>] <span data-x="map exists">exists</span>, then
increase <var>activeTimers</var>[<var>handle</var>] by <var>suspendDuration</var>.</p></li>
<li><p>For each <var>handle</var> in <var>newDocument</var>'s <span>suspended timer
handles</span>, if <var>activeTimers</var>[<var>handle</var>] <span data-x="map
exists">exists</span>, then increase <var>activeTimers</var>[<var>handle</var>] by
<var>suspendDuration</var>.</p></li>
</ol>
</li>

Expand Down Expand Up @@ -88972,9 +88973,9 @@ dictionary <dfn dictionary>PageTransitionEventInit</dfn> : <span>EventInit</span
data-x="event-pageshow">pageshow</code>, or vice versa).</p>

<p>A <code>Document</code> has a <code>DOMHighResTimeStamp</code> <dfn>suspension time</dfn>,
initially zero.</p>
initially 0.</p>

<p>A <code>Document</code> has a <span>list</span> <dfn>suspended timer handles</dfn>,
<p>A <code>Document</code> has a <span>list</span> of <dfn>suspended timer handles</dfn>,
initially empty.</p>

<p><span data-x="event loop">Event loops</span> have a <dfn>termination nesting level</dfn>
Expand Down Expand Up @@ -93824,10 +93825,10 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
<ol>
<li>
<p>Let <var>nextRenderDeadline</var> be this <span>event loop</span>'s
<span>last render opportunity time</span> plus 1000 divided by the current refersh
rate.</p>
<span>last render opportunity time</span> plus (1000 divided by the current refresh
rate).</p>

<p>The rerfresh rate can be hardware or implementation specific. For a refresh rate of
<p>The refresh rate can be hardware- or implementation-specific. For a refresh rate of
60Hz, the <var>nextRenderDeadline</var> would be about 16.67ms after the
<span>last render opportunity time</span>.</p>
</li>
Expand Down

0 comments on commit 4a1ca89

Please sign in to comment.