Skip to content

Commit

Permalink
Address reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Dec 4, 2019
1 parent 30728af commit c04c0be
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -26305,19 +26305,19 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {
<dd><p>The images load eagerly and delay the window's load event.</p></dd>

<dt><code data-x="">3.jpeg</code></dt>
<dd><p>The image loads eagerly due to being in the viewport, however it does not delay the
window's load event.</p></dd>
<dd><p>The image loads when layout is known, due to being in the viewport, however it does not
delay the window's load event.</p></dd>

<dt><code data-x="">5.jpeg</code></dt>
<dd><p>The image loads only once scrolled into the viewport, and does not delay the window's
load event.</p></dd>

</dl>

<p class="note">Developers are encouraged to specify a CSS width and height on lazy loaded images
as well as an intrinsic aspect ratio via <code data-x="attr-dim-width">width</code> and <code
data-x="attr-dim-height">height</code> attributes, to prevent the page layout from shifting
around after the image loads.</p>
<p class="note">Developers are encouraged to specify an intrinsic aspect ratio via <code
data-x="attr-dim-width">width</code> and <code data-x="attr-dim-height">height</code> attributes
on lazy loaded images, even if CSS sets the image's width and height properties, to prevent the
page layout from shifting around after the image loads.</p>

</div>

Expand Down

0 comments on commit c04c0be

Please sign in to comment.