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

Removing link rel=serviceworker for now. #3233

Merged
merged 2 commits into from Nov 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
89 changes: 1 addition & 88 deletions source
Expand Up @@ -3909,17 +3909,11 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x="dfn-control" data-x-href="https://w3c.github.io/ServiceWorker/#dfn-control">control</dfn></li>
<li><dfn data-x="on-fetch-request-algorithm" data-x-href="https://w3c.github.io/ServiceWorker/#on-fetch-request-algorithm">handle fetch</dfn></li>
<li><dfn data-x="scope-match-algorithm" data-x-href="https://w3c.github.io/ServiceWorker/#scope-match-algorithm">match service worker registration</dfn></li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#dfn-scope-url">scope url</dfn></li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#dfn-script-url">script url</dfn></li>
<li><dfn data-x="dfn-service-worker" data-x-href="https://w3c.github.io/ServiceWorker/#dfn-service-worker">service worker</dfn></li>
<li><dfn data-x="serviceworkercontainer-service-worker-client" data-x-href="https://w3c.github.io/ServiceWorker/#serviceworkercontainer-service-worker-client">service worker client</dfn></li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#dfn-service-worker-registration">service worker registration</dfn></li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#dfn-type">service worker type</dfn></li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#dfn-serviceworker-link">serviceworker link</dfn></li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#serviceworker"><code>ServiceWorker</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#serviceworkercontainer"><code>ServiceWorkerContainer</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope"><code>ServiceWorkerGlobalScope</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#dfn-update-via-cache">update via cache mode</dfn></li>
</ul>

</dd>
Expand Down Expand Up @@ -13057,9 +13051,6 @@ interface <dfn>HTMLBaseElement</dfn> : <span>HTMLElement</span> {
<dd><code data-x="attr-link-referrerpolicy">referrerpolicy</code></dd>
<dd><code data-x="attr-link-sizes">sizes</code></dd>
<dd><code data-x="attr-link-as">as</code></dd>
<dd><code data-x="attr-link-scope">scope</code></dd>
<dd><code data-x="attr-link-updateviacache">updateviacache</code></dd>
<dd><code data-x="attr-link-workertype">workertype</code></dd>
<dd><code data-x="attr-link-color">color</code></dd>
<dd>Also, the <code data-x="attr-link-title">title</code> attribute <span data-x="attr-link-title">has special semantics</span> on this element.</dd>
<dt><span data-x="concept-element-dom">DOM interface</span>:</dt>
Expand All @@ -13079,9 +13070,6 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-link-type">type</span>;
[SameObject, PutForwards=<span data-x="dom-DOMTokenList-value">value</span>] readonly attribute <span>DOMTokenList</span> <span data-x="dom-link-sizes">sizes</span>;
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-link-referrerPolicy">referrerPolicy</span>;
[<span>CEReactions</span>] attribute USVString <span data-x="dom-link-scope">scope</span>;
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-link-workertype">workerType</span>;
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-link-updateviacache">updateViaCache</span>;
};
<span>HTMLLinkElement</span> implements <span>LinkStyle</span>;</pre>
</dd>
Expand Down Expand Up @@ -13124,8 +13112,7 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
<code data-x="rel-prefetch">prefetch</code>,
<code data-x="rel-preload">preload</code>,
<code data-x="rel-prerender">prerender</code>,
<code data-x="rel-search">search</code>,
<code data-x="rel-serviceworker">serviceworker</code>, and
<code data-x="rel-search">search</code>, and
<code data-x="rel-stylesheet">stylesheet</code>.
<code data-x="attr-link-rel">rel</code>'s <span data-x="concept-supported-tokens">supported
tokens</span> must only include the tokens from this list that the user agent implements the
Expand Down Expand Up @@ -13283,32 +13270,6 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {

<hr>

<p>The <dfn><code data-x="attr-link-scope">scope</code></dfn> attribute specifies the <span>scope
url</span> for a <span>service worker registration</span>. If the attribute is present, the value
must be a <span>valid URL potentially surrounded by spaces</span>. The attribute must not be
specified on <code>link</code> elements that do not have a <code data-x="attr-link-rel">rel</code>
attribute that contains the <code data-x="rel-serviceworker">serviceworker</code> keyword.</p>

<p>The <dfn><code data-x="attr-link-updateviacache">updateviacache</code></dfn> attribute
specifies the <span>update via cache mode</span> for a <span>service worker registration</span>.
It is an <span>enumerated attribute</span>. Each <span>update via cache mode</span> is a keyword
for this attribute, mapping to a state of the same name. The <span>missing value default</span> is
the <i>imports</i> state. The attribute must not be specified on <code>link</code> elements that
do not have a <code data-x="attr-link-rel">rel</code> attribute that contains the
<code data-x="rel-serviceworker">serviceworker</code> keyword.</p>

<p>The <dfn><code data-x="attr-link-workertype">workertype</code></dfn> attribute is an
<span>enumerated attribute</span> that specifies the <span>service worker type</span> for a
<span>service worker registration</span>. The attribute's keywords are <code
data-x="">classic</code> and <code data-x="">module</code>, which map to the respective states
<i>classic</i> and <i>module</i>. The <span>missing value default</span> is the <i>classic</i>
state. There is an additional state, not represented by a keyword: the <i>invalid</i> state. The
<span>invalid value default</span> is the <i>invalid</i> state. The attribute must not be
specified on <code>link</code> elements that do not have a <code data-x="attr-link-rel">rel</code>
attribute that contains the <code data-x="rel-serviceworker">serviceworker</code> keyword.</p>

<hr>

<p>The <dfn><code data-x="attr-link-color">color</code></dfn> attribute is used with the <code
data-x="">mask-icon</code> link type. The attribute must not be specified on <code>link</code>
elements that do not have a <code data-x="attr-link-rel">rel</code> attribute that contains the
Expand All @@ -13333,7 +13294,6 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
<dfn><code data-x="dom-link-media">media</code></dfn>,
<dfn><code data-x="dom-link-nonce">nonce</code></dfn>,
<dfn><code data-x="dom-link-rel">rel</code></dfn>,
<dfn><code data-x="dom-link-scope">scope</code></dfn>,
<dfn><code data-x="dom-link-sizes">sizes</code></dfn>, and
<dfn><code data-x="dom-link-type">type</code></dfn>
each must <span>reflect</span> the respective content attributes of the same name.</p>
Expand All @@ -13356,14 +13316,6 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
<p>The <dfn><code data-x="dom-link-rellist">relList</code></dfn> IDL attribute must <span
data-x="reflect">reflect</span> the <code data-x="attr-link-rel">rel</code> content attribute.</p>

<p>The <dfn><code data-x="dom-link-updateViaCache">updateViaCache</code></dfn> IDL attribute must
<span>reflect</span> the <code data-x="attr-link-updateviacache">updateviacache</code> content
attribute, <span>limited to only known values</span>.</p>

<p>The <dfn><code data-x="dom-link-workerType">workerType</code></dfn> IDL attribute must
<span>reflect</span> the <code data-x="attr-link-workertype">workertype</code> content
attribute, <span>limited to only known values</span>.</p>

<h5>Processing the <code data-x="attr-link-media">media</code> attribute</h5>

<p>If the link is a <span>hyperlink</span> then the <code data-x="attr-link-media">media</code>
Expand Down Expand Up @@ -23610,14 +23562,6 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {
<td>Gives a link to a resource that can be used to search through the current document and its related pages.</td>
</tr>

<tr>
<td><code data-x="rel-serviceworker">serviceworker</code></td>
<td><span>Hyperlink</span></td>
<td><em>not allowed</em></td>
<td class="no"> &middot; </td>
<td>Declares a <span>service worker registration</span>.</td>
</tr>

<tr>
<td><code data-x="rel-stylesheet">stylesheet</code></td> <!-- most commonly used <link rel> value, variants came in 7th, 8th, 12th, 17th... -->
<td><span data-x="external resource link">External Resource</span></td>
Expand Down Expand Up @@ -24266,22 +24210,6 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {
the <code data-x="rel-search">search</code> link type to enable user agents to autodiscover search
interfaces. <ref spec=OPENSEARCH></p>

<h5 data-dfn-for="link/rel" data-dfn-type="attr-value" data-export="" data-lt="serviceworker">Link
type "<dfn><code data-x="rel-serviceworker">serviceworker</code></dfn>"</h5>

<p>The <code data-x="rel-serviceworker">serviceworker</code> keyword may be used with
<code>link</code> elements. This keyword creates an <span data-x="external resource link">external
resource link</span> that is used to declare a <span>service worker registration</span> and its
<span>script url</span>, <span>scope url</span>, <span data-x="service worker type">type</span>,
and <span>update via cache mode</span>.</p>

<p><span w-nodev>User agents must implement the processing model for <code>link</code>-element
<span data-x="serviceworker link">serviceworker links</span> described in <cite>Service
Workers</cite>, using the <code data-x="attr-link-href">href</code>, <code
data-x="attr-link-scope">scope</code>, <code data-x="attr-link-workertype">workertype</code>, and
<code data-x="attr-link-updateviacache">updateviacache</code> attributes.</span>
<ref spec="SW"></p>

<!--ADD-TOPIC:CSS-->
<h5>Link type "<dfn><code data-x="rel-stylesheet">stylesheet</code></dfn>"</h5>

Expand Down Expand Up @@ -117934,11 +117862,6 @@ interface <dfn>External</dfn> {
"<code data-x="attr-th-scope-col">col</code>";
"<code data-x="attr-th-scope-rowgroup">rowgroup</code>";
"<code data-x="attr-th-scope-colgroup">colgroup</code>"
<tr>
<th> <code data-x="">scope</code>
<td> <code data-x="attr-link-scope">link</code>
<td> <span>Scope url</span> for a <span>service worker registration</span> (for <code data-x="attr-link-rel">rel</code>="<code data-x="rel-serviceworker">serviceworker</code>")
<td><span>Valid URL potentially surrounded by spaces</span>
<tr>
<th> <code data-x="">selected</code>
<td> <code data-x="attr-option-selected">option</code>
Expand Down Expand Up @@ -118126,11 +118049,6 @@ interface <dfn>External</dfn> {
<td> <code data-x="attr-object-typemustmatch">object</code>
<td> Whether the <code data-x="attr-object-type">type</code> attribute and the <span>Content-Type</span> value need to match for the resource to be used
<td> <span>Boolean attribute</span>
<tr>
<th> <code data-x="">updateviacache</code>
<td> <code data-x="attr-link-updateviacache">link</code>
<td> <span>Update via cache mode</span> for a <span>service worker registration</span> (for <code data-x="attr-link-rel">rel</code>="<code data-x="rel-serviceworker">serviceworker</code>")
<td> <span>Update via cache mode</span>
<tr>
<th> <code data-x="">usemap</code>
<td> <code data-x="attr-hyperlink-usemap">img</code>;
Expand Down Expand Up @@ -118180,11 +118098,6 @@ interface <dfn>External</dfn> {
<code data-x="attr-dim-width">video</code>
<td> Horizontal dimension
<td> <span>Valid non-negative integer</span>
<tr>
<th> <code data-x="">workertype</code>
<td> <code data-x="attr-link-workertype">link</code>
<td> <span>Service worker type</span> for a <span>service worker registration</span> (for <code data-x="attr-link-rel">rel</code>="<code data-x="rel-serviceworker">serviceworker</code>")
<td> "<code data-x="">classic</code>"; "<code data-x="">module</code>"
<tr>
<th> <code data-x="">wrap</code>
<td> <code data-x="attr-textarea-wrap">textarea</code>
Expand Down