Skip to content

Commit

Permalink
Making attribute case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald committed Jun 6, 2017
1 parent c35a7b5 commit 055ff1b
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -12931,7 +12931,7 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</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 <span>WorkerType</span> <span data-x="dom-link-workertype">workerType</span>;
[<span>CEReactions</span>] attribute <span>ServiceWorkerUpdateViaCache</span> updateViaCache;
[<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 @@ -13138,14 +13138,13 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
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 is an
<span>enumerated attribute</span> that specifies the <span>update via cache mode</span> for a
<span>service worker registration</span>. The attribute's keywords are
"<code data-x="">imports</code>", "<code data-x="">all</code>", and "<code data-x="">never</code>,
which map to the respective states <i>imports</i>, <i>all</i>, and <i>never</i>. 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-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
Expand Down Expand Up @@ -13211,7 +13210,7 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {

<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.</p>
attribute, <span>limited to only known values</span>.</p>

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

Expand Down

0 comments on commit 055ff1b

Please sign in to comment.