Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c093e8c

Browse files
domenicbengreenstein
authored andcommittedDec 14, 2018
Source formatting nits
1 parent a6d5236 commit c093e8c

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed
 

‎source

+20-19
Original file line numberDiff line numberDiff line change
@@ -27319,32 +27319,33 @@ was an English &lt;a href="/wiki/Music_hall">music hall&lt;/a> singer, ...</code
2731927319
<p>If the <code>img</code> element's <code data-x="attr-img-lazyload">lazyload</code> attribute is
2732027320
not in the <span data-x="attr-lazyload-off-state">Off</span> state, the user agent may immediately
2732127321
fetch metadata from the image header. To fetch image metadata, the user agent must run the
27322-
following steps:
27322+
following steps:</p>
2732327323

2732427324
<ol>
27325-
<li><p>Let <var>request</var> be the result of <span data-x="create a potential-CORS request">
27326-
creating a potential-CORS request</span> given <var>urlString</var>, "<code
27327-
data-x="">image</code>", and the current state of the element's <code
27328-
data-x="attr-img-crossorigin">crossorigin</code> content attribute.</p></li>
27325+
<li><p>Let <var>request</var> be the result of <span data-x="create a potential-CORS
27326+
request">creating a potential-CORS request</span> given <var>urlString</var>, "<code
27327+
data-x="">image</code>", and the current state of the element's <code
27328+
data-x="attr-img-crossorigin">crossorigin</code> content attribute.</p></li>
2732927329

27330-
<li><p>Set <var>request</var>'s <span data-x="concept-request-client">client</span> to the
27331-
element's <span>node document</span>'s <code>Window</code> object's <span>environment settings
27332-
object</span>.</p></li>
27330+
<li><p>Set <var>request</var>'s <span data-x="concept-request-client">client</span> to the
27331+
element's <span>node document</span>'s <code>Window</code> object's <span>environment settings
27332+
object</span>.</p></li>
2733327333

27334-
<li><p>If the element <span data-x="use srcset or picture">uses <code>srcset</code> or <code>
27335-
picture</code></span>, set <var>request</var>'s <span data-x="concept-request-initiator">
27336-
initiator</span> to "<code data-x="">imageset</code>".</p></li>
27334+
<li><p>If the element <span data-x="use srcset or picture">uses <code>srcset</code> or
27335+
<code>picture</code></span>, set <var>request</var>'s <span
27336+
data-x="concept-request-initiator">initiator</span> to "<code
27337+
data-x="">imageset</code>".</p></li>
2733727338

27338-
<li><p>Set <var>request</var>'s <span data-x="concept-request-referrer-policy">referrer
27339-
policy</span> to the current state of the element's <code
27340-
data-x="attr-img-referrerpolicy">referrerpolicy</code> attribute.</p></li>
27339+
<li><p>Set <var>request</var>'s <span data-x="concept-request-referrer-policy">referrer
27340+
policy</span> to the current state of the element's <code
27341+
data-x="attr-img-referrerpolicy">referrerpolicy</code> attribute.</p></li>
2734127342

27342-
<li><p>Then <span data-x="concept-request-add-range-header">add a range header</span> to
27343-
<var>request</var> starting at byte 0 and ending with as many bytes of the image file as the
27344-
user agent determines is reasonable to retrieve metatdata.</p></li>
27343+
<li><p>Then <span data-x="concept-request-add-range-header">add a range header</span> to
27344+
<var>request</var> starting at byte 0 and ending with as many bytes of the image file as the
27345+
user agent determines is reasonable to retrieve metatdata.</p></li>
2734527346

27346-
<li><p><span data-x="concept-fetch">Fetch</span> <var>request</var>, and use the metadata
27347-
contained in the response as appropriate for the image.</p></li>
27347+
<li><p><span data-x="concept-fetch">Fetch</span> <var>request</var>, and use the metadata
27348+
contained in the response as appropriate for the image.</p></li>
2734827349
</ol>
2734927350

2735027351

0 commit comments

Comments
 (0)
Please sign in to comment.