Skip to content

Commit 2d526af

Browse files
authored
Editorial: make lazy loading attributes consistent
Helps with #9832.
1 parent bbc8b07 commit 2d526af

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

source

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7501,20 +7501,15 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
75017501

75027502
<h4>Lazy loading attributes</h4>
75037503

7504-
<p>A <dfn>lazy loading attribute</dfn> is an <span>enumerated attribute</span>. The following
7505-
table lists the keywords and states for the attribute &mdash; the keywords in the left column map
7506-
to the states in the cell in the second column on the same row as the keyword.</p>
7507-
7508-
<p>The attribute directs the user agent to fetch a resource immediately or to defer fetching until
7509-
some conditions associated with the element are met, according to the attribute's current
7510-
state.</p>
7504+
<p>A <dfn>lazy loading attribute</dfn> is an <span>enumerated attribute</span> with the following
7505+
keywords and states:</p>
75117506

75127507
<table>
75137508
<thead>
75147509
<tr>
75157510
<th>Keyword
75167511
<th>State
7517-
<th>Description
7512+
<th>Brief description
75187513
<tbody>
75197514
<tr>
75207515
<td><dfn attr-value for="img/loading,iframe/loading"><code data-x="attr-loading-lazy">lazy</code></dfn>
@@ -7526,6 +7521,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
75267521
<td>Used to fetch a resource immediately; the default state.
75277522
</table>
75287523

7524+
<p>The attribute directs the user agent to fetch a resource immediately or to defer fetching until
7525+
some conditions associated with the element are met, according to the attribute's current
7526+
state.</p>
7527+
75297528
<p>The attribute's <i data-x="missing value default">missing value default</i> and <i
75307529
data-x="invalid value default">invalid value default</i> are both the <span
75317530
data-x="attr-loading-eager-state">Eager</span> state.</p>

0 commit comments

Comments
 (0)