Closed Bug 1912826 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 47572 - Include background image of image-set as LCP candidates

Categories

(Core :: DOM: Performance APIs, task, P4)

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Hao Liu <haoliuk@chromium.org> wrote:

Include background image of image-set as LCP candidates

This is to include background images specified by the image-set function
as LCP candidates.

The parameter type StyleFetchedImage is changed to StyleImage in the
LCP code to accommodate this change. The latter is a parent class of the
former and the StyleImageSet class which corresponds to the background
images specified by the image-set function.

Bug: 40929338
Change-Id: I1725cc9beab06ff17e44e4f82b26ab7f582191d6
Reviewed-on: https://chromium-review.googlesource.com/5645790
WPT-Export-Revision: a78b41d2fdc333fa32611c22de077ef6b76b88d8

Component: web-platform-tests → DOM: Performance
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/173390b05f91 [wpt PR 47572] - Include background image of image-set as LCP candidates, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.