Closed Bug 1601514 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 20624 - Fixed not lazily loading for explicit loading=lazy image

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox73 fixed)

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 20624 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/20624
Details from upstream follow.

Wanchang Ryu <wanchang.ryu@lge.com> wrote:

Fixed not lazily loading for explicit loading=lazy image

Previously when a image element is invisible, it loads image eagerly for
both 'auto' and 'lazy' by
https://chromium-review.googlesource.com/c/chromium/src/+/1668710

But when attribute is set 'lazy' explicitly, we can still use lazy
loading because lazy loading is intended.

Bug: 1027153
Change-Id: Ibb0ad782049c66863d242d929f1e94fa6ddd1ed0

Reviewed-on: https://chromium-review.googlesource.com/1950104
WPT-Export-Revision: f84d14dbbcf2d18dcc2041b042d1b6a15d3a71a0

GitHub CI Results

wpt.fyi PR Results Base Results

Ran 1 tests and 2 subtests

Firefox

OK : 1
PASS: 2

Chrome

OK : 1
PASS: 2

Safari

OK : 1
PASS: 2

Gecko CI Results

Ran 1 tests and 2 subtests
OK : 1
PASS : 2

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eb7580fba601
[wpt PR 20624] - Fixed not lazily loading for explicit loading=lazy image, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.