Skip to content

Commit

Permalink
deploy: c78e741
Browse files Browse the repository at this point in the history
  • Loading branch information
npm1 committed Feb 16, 2021
1 parent bbd62ce commit f31d8a8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<meta content="ED" name="w3c-status">
<link href="https://www.w3.org/StyleSheets/TR/2016/W3C-ED" rel="stylesheet" type="text/css">
<meta content="Bikeshed version c5172e83, updated Fri Nov 20 15:35:20 2020 -0800" name="generator">
<meta content="Bikeshed version 4e8dd937, updated Fri Nov 13 16:49:31 2020 -0800" name="generator">
<link href="https://www.w3.org/TR/paint-timing/" rel="canonical">
<style>/* style-autolinks */

Expand Down Expand Up @@ -635,7 +635,7 @@
<header>
<p data-fill-with="logo"><a href="https://www.w3.org/"><img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72"></a> </p>
<h1 class="p-name no-ref" id="title">Paint Timing 1</h1>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2020-11-30">30 November 2020</time></span></h2>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2021-02-16">16 February 2021</time></span></h2>
</header>
<div data-fill-with="spec-metadata">
<dl>
Expand All @@ -654,7 +654,7 @@ <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="cont
</dl>
</div>
<div data-fill-with="warning"></div>
<p class="copyright" data-fill-with="copyright"><a href="https://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2020 <a href="https://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="https://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="https://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="https://www.keio.ac.jp/">Keio</a>, <a href="https://ev.buaa.edu.cn/">Beihang</a>). W3C <a href="https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document" rel="license">permissive document license</a> rules apply. </p>
<p class="copyright" data-fill-with="copyright"><a href="https://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2021 <a href="https://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="https://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="https://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="https://www.keio.ac.jp/">Keio</a>, <a href="https://ev.buaa.edu.cn/">Beihang</a>). W3C <a href="https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document" rel="license">permissive document license</a> rules apply. </p>
<hr title="Separator for header">
</div>
<div class="p-summary" data-fill-with="abstract">
Expand Down Expand Up @@ -719,9 +719,9 @@ <h2 class="heading settled" data-level="1" id="intro"><span class="secno">1. </s
<p>First paint (FP) is the first of these key moments, followed by first contentful paint (FCP). These metrics mark the points in time when the browser renders a given document. This is important to the user because it answers the question: is it happening?</p>
<p>The primary difference between the two metrics is FP marks the first time the browser renders anything for a given document. By contrast, FCP marks the time when the browser renders the first bit of image or text content from the DOM.</p>
<h3 class="heading settled" data-level="1.1" id="example"><span class="secno">1.1. </span><span class="content">Usage example</span><a class="self-link" href="#example"></a></h3>
<pre class="example highlight" id="example-a8843108"><a class="self-link" href="#example-a8843108"></a><c- a>var</c-> observer <c- o>=</c-> <c- k>new</c-> PerformanceObserver<c- p>(</c-><c- a>function</c-><c- p>(</c->list<c- p>)</c-> <c- p>{</c->
<c- a>var</c-> perfEntries <c- o>=</c-> list<c- p>.</c->getEntries<c- p>();</c->
<c- k>for</c-> <c- p>(</c-><c- a>var</c-> i <c- o>=</c-> <c- mi>0</c-><c- p>;</c-> i <c- o>&lt;</c-> perfEntries<c- p>.</c->length<c- p>;</c-> i<c- o>++</c-><c- p>)</c-> <c- p>{</c->
<pre class="example highlight" id="example-4b94b5db"><a class="self-link" href="#example-4b94b5db"></a><c- a>const</c-> observer <c- o>=</c-> <c- k>new</c-> PerformanceObserver<c- p>(</c-><c- a>function</c-><c- p>(</c->list<c- p>)</c-> <c- p>{</c->
<c- a>const</c-> perfEntries <c- o>=</c-> list<c- p>.</c->getEntries<c- p>();</c->
<c- k>for</c-> <c- p>(</c-><c- a>const</c-> perfEntry <c- k>of</c-> perfEntries<c- p>)</c-> <c- p>{</c->
<c- c1>// Process entries</c->
<c- c1>// report back for analytics and monitoring</c->
<c- c1>// ...</c->
Expand Down Expand Up @@ -812,7 +812,7 @@ <h2 class="heading settled" data-level="3" id="sec-PerformancePaintTiming"><span
<div class="mdn-anno wrapped after">
<button class="mdn-anno-btn"><b class="less-than-two-engines-flag" title="This feature is in less than two current engines."></b><span>MDN</span></button>
<div class="feature">
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/PerformancePaintTiming" title="The PerformancePaintTiming interface of the Paint Timing provides timing information about &quot;paint&quot; (also called &quot;render&quot;) operations during web page construction. &quot;Paint&quot; refers to conversion of the render tree to on-screen pixels.">PerformancePaintTiming</a></p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/PerformancePaintTiming" title="The PerformancePaintTiming interface of the Paint Timing API provides timing information about &quot;paint&quot; (also called &quot;render&quot;) operations during web page construction. &quot;Paint&quot; refers to conversion of the render tree to on-screen pixels.">PerformancePaintTiming</a></p>
<p class="less-than-two-engines-text">In only one current engine.</p>
<div class="support">
<span class="firefox no"><span>Firefox</span><span>?</span></span><span class="safari no"><span>Safari</span><span>None</span></span><span class="chrome yes"><span>Chrome</span><span>60+</span></span>
Expand Down Expand Up @@ -1172,13 +1172,13 @@ <h2 class="no-num no-ref heading settled" id="references"><span class="content">
<h3 class="no-num no-ref heading settled" id="normative"><span class="content">Normative References</span><a class="self-link" href="#normative"></a></h3>
<dl>
<dt id="biblio-css-backgrounds-3">[CSS-BACKGROUNDS-3]
<dd>Bert Bos; Elika Etemad; Brad Kemper. <a href="https://www.w3.org/TR/css-backgrounds-3/">CSS Backgrounds and Borders Module Level 3</a>. 17 October 2017. CR. URL: <a href="https://www.w3.org/TR/css-backgrounds-3/">https://www.w3.org/TR/css-backgrounds-3/</a>
<dd>Bert Bos; Elika Etemad; Brad Kemper. <a href="https://www.w3.org/TR/css-backgrounds-3/">CSS Backgrounds and Borders Module Level 3</a>. 22 December 2020. CR. URL: <a href="https://www.w3.org/TR/css-backgrounds-3/">https://www.w3.org/TR/css-backgrounds-3/</a>
<dt id="biblio-css-color-3">[CSS-COLOR-3]
<dd>Tantek Çelik; Chris Lilley; David Baron. <a href="https://www.w3.org/TR/css-color-3/">CSS Color Module Level 3</a>. 19 June 2018. REC. URL: <a href="https://www.w3.org/TR/css-color-3/">https://www.w3.org/TR/css-color-3/</a>
<dt id="biblio-css-display-3">[CSS-DISPLAY-3]
<dd>Tab Atkins Jr.; Elika Etemad. <a href="https://www.w3.org/TR/css-display-3/">CSS Display Module Level 3</a>. 19 May 2020. CR. URL: <a href="https://www.w3.org/TR/css-display-3/">https://www.w3.org/TR/css-display-3/</a>
<dd>Tab Atkins Jr.; Elika Etemad. <a href="https://www.w3.org/TR/css-display-3/">CSS Display Module Level 3</a>. 18 December 2020. CR. URL: <a href="https://www.w3.org/TR/css-display-3/">https://www.w3.org/TR/css-display-3/</a>
<dt id="biblio-css-text-3">[CSS-TEXT-3]
<dd>Elika Etemad; Koji Ishii; Florian Rivoal. <a href="https://www.w3.org/TR/css-text-3/">CSS Text Module Level 3</a>. 29 April 2020. WD. URL: <a href="https://www.w3.org/TR/css-text-3/">https://www.w3.org/TR/css-text-3/</a>
<dd>Elika Etemad; Koji Ishii; Florian Rivoal. <a href="https://www.w3.org/TR/css-text-3/">CSS Text Module Level 3</a>. 22 December 2020. CR. URL: <a href="https://www.w3.org/TR/css-text-3/">https://www.w3.org/TR/css-text-3/</a>
<dt id="biblio-dom">[DOM]
<dd>Anne van Kesteren. <a href="https://dom.spec.whatwg.org/">DOM Standard</a>. Living Standard. URL: <a href="https://dom.spec.whatwg.org/">https://dom.spec.whatwg.org/</a>
<dt id="biblio-hr-time-2">[HR-TIME-2]
Expand Down Expand Up @@ -1408,7 +1408,7 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
}
}
function getVarName(el) {
return el.textContent.replace(/(\s| )+/, " ").trim();
return el.textContent.replace(/(\s|\xa0)+/, " ").trim();
}
function chooseHighlightIndex(algoName, varName) {
let indexes = null;
Expand Down

0 comments on commit f31d8a8

Please sign in to comment.