WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 4fd44af

Browse files
authored
Merge branch 'w3c:gh-pages' into routing-resource-timing/01/timing-info-spec
2 parents b63ff02 + 9be78d3 commit 4fd44af

File tree

1 file changed

+60
-9
lines changed

1 file changed

+60
-9
lines changed

index.html

Lines changed: 60 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,19 @@
6868
xref: {
6969
specs: ["hr-time-3", "performance-timeline", "xhr"],
7070
profile: "web-platform",
71-
}
71+
},
72+
73+
localBiblio: {
74+
INCREMENTAL_FONT_TRANSFER: {
75+
title: "Incremental Font Transfer",
76+
href: "https://www.w3.org/TR/IFT/",
77+
},
78+
EARLY_HINTS: {
79+
title: "Early hints",
80+
href: "https://httpwg.org/specs/rfc8297.html",
81+
}
82+
},
83+
7284
};
7385
</script>
7486
</head>
@@ -380,6 +392,7 @@ <h3>
380392
readonly attribute unsigned short responseStatus;
381393
readonly attribute RenderBlockingStatusType renderBlockingStatus;
382394
readonly attribute DOMString contentType;
395+
readonly attribute DOMString contentEncoding;
383396
[Default] object toJSON();
384397
};
385398
</pre>
@@ -442,10 +455,23 @@ <h3>
442455
request=];
443456
</li>
444457
<li>
445-
<code>"css"</code>, if the request is a result of processing a
446-
CSS <a data-cite="css-values-4" data-xref-type=
447-
"css-function">url()</a> directive such as <code>@import
448-
url()</code> or <code>background: url()</code>; [[CSS-VALUES]]
458+
<code>"body"</code>, if the request is a result of processing the
459+
[^body^] element's <code>background</code> attribute that's
460+
already obsolete.
461+
</li>
462+
<li>
463+
<p>
464+
<code>"css"</code>, if the request is a result of processing a
465+
CSS <a data-cite="css-values-4" data-xref-type=
466+
"css-function">url()</a> directive such as <code>@import
467+
url()</code> or <code>background: url()</code>; [[CSS-VALUES]]
468+
</p>
469+
<p>
470+
Note: the request for a font resource specified with
471+
<code>@font-face</code> in CSS is a result of processing a CSS
472+
directive. Therefore, the `initiatorType` for this font
473+
resource is <code>"css"</code>.
474+
</p>
449475
</li>
450476
<li>
451477
<code>"script"</code>, if the request is a result of loading any
@@ -456,6 +482,11 @@ <h3>
456482
<code>"xmlhttprequest"</code>, if the request is a result of
457483
processing an {{XMLHttpRequest}};
458484
</li>
485+
<li>
486+
<code>"font"</code>, if the request is the result of processing
487+
fonts. This can happen when fonts request subsequent resources,
488+
e.g, when [[[INCREMENTAL_FONT_TRANSFER]]] is used.
489+
</li>
459490
<li>
460491
<code>"fetch"</code>, if the request is the result of processing
461492
the {{WindowOrWorkerGlobalScope/fetch()}} method;
@@ -490,8 +521,8 @@ <h3>
490521
an [^input^] element of [^input/type^] [^input/type/image^].
491522
</li>
492523
<li>
493-
<code>"a"</code>, if the request is the result of processing an
494-
[^a^] element's [^a/download^] or [^a/ping^].
524+
<code>"ping"</code>, if the request is the result of processing
525+
an [^a^] element's [^a/ping^].
495526
</li>
496527
<li>
497528
<code>"iframe"</code>, if the request is the result of processing
@@ -501,6 +532,22 @@ <h3>
501532
<code>"frame"</code>, if the request is the result of loading a
502533
[^frame^].
503534
</li>
535+
<li>
536+
<code>"embed"</code>, if the request is the result of processing
537+
an [^embed^] element's [^embed/src^].
538+
</li>
539+
<li>
540+
<code>"link"</code>, if the request is the result of processing
541+
an [^link^] element.
542+
</li>
543+
<li>
544+
<code>"object"</code>, if the request is the result of processing
545+
an [^object^] element.
546+
</li>
547+
<li>
548+
<code>"early-hints"</code>, if the request is the result of
549+
processing an [[[EARLY_HINTS]]] response.
550+
</li>
504551
<li>
505552
<code>"other"</code>, if none of the above conditions match.
506553
</li>
@@ -671,8 +718,7 @@ <h3>
671718
info</a>'s [=response body info/decoded size=].
672719
</p>
673720
<p data-dfn-for="PerformanceResourceTiming">
674-
The <dfn>transferSize</dfn> getter steps are to perform the following
675-
steps:
721+
The <dfn>transferSize</dfn> getter steps are:
676722
</p>
677723
<ol>
678724
<li>
@@ -719,6 +765,11 @@ <h3>
719765
<a data-for="PerformanceResourceTiming">resource info</a>'s
720766
[=response body info/content type=].
721767
</p>
768+
<p data-dfn-for="PerformanceResourceTiming">
769+
The <dfn>contentEncoding</dfn> getter steps are to return
770+
<a>this</a>'s <a data-for="PerformanceResourceTiming">resource
771+
info</a> 's [=response body info/content encoding=].
772+
</p>
722773
<p data-dfn-for="PerformanceResourceTiming">
723774
The <dfn>renderBlockingStatus</dfn> getter steps are to return
724775
<a data-link-for="RenderBlockingStatusType">blocking</a> if

0 commit comments

Comments
 (0)