Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Clark <cjamcl@google.com>
  • Loading branch information
paulirish and connorjclark committed Feb 10, 2021
1 parent dc7f4a0 commit b80096c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lighthouse-core/audits/unsized-images.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class UnsizedImages extends Audit {
}

/**
* An img size attribute prevents CLS if it is a non-negative integer (incl zero!).
* An img size attribute prevents layout shifts if it is a non-negative integer (incl zero!).
* @url https://html.spec.whatwg.org/multipage/embedded-content-other.html#dimension-attributes
* @param {string} attrValue
* @return {boolean}
Expand All @@ -60,7 +60,7 @@ class UnsizedImages extends Audit {
}

/**
* An img css size property prevents CLS if it is defined, not empty, and not equal to 'auto'.
* An img css size property prevents layout shifts if it is defined, not empty, and not equal to 'auto'.
* @param {string | null} property
* @return {boolean}
*/
Expand Down

0 comments on commit b80096c

Please sign in to comment.