Skip to content

Commit

Permalink
make lazy loading attributes consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Oct 6, 2023
1 parent bbc8b07 commit 96a9664
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -7501,13 +7501,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<h4>Lazy loading attributes</h4>

<p>A <dfn>lazy loading attribute</dfn> is an <span>enumerated attribute</span>. The following
table lists the keywords and states for the attribute &mdash; the keywords in the left column map
to the states in the cell in the second column on the same row as the keyword.</p>

<p>The attribute directs the user agent to fetch a resource immediately or to defer fetching until
some conditions associated with the element are met, according to the attribute's current
state.</p>
<p>A <dfn>lazy loading attribute</dfn> is an <span>enumerated attribute</span> with the following
keywords and states:</p>

<table>
<thead>
Expand All @@ -7526,6 +7521,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<td>Used to fetch a resource immediately; the default state.
</table>

<p>The attribute directs the user agent to fetch a resource immediately or to defer fetching until
some conditions associated with the element are met, according to the attribute's current
state.</p>

<p>The attribute's <i data-x="missing value default">missing value default</i> and <i
data-x="invalid value default">invalid value default</i> are both the <span
data-x="attr-loading-eager-state">Eager</span> state.</p>
Expand Down

0 comments on commit 96a9664

Please sign in to comment.