WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
299647
Add a way to know if a CachedImage is showing a complete frame
https://bugs.webkit.org/show_bug.cgi?id=299647
Summary
Add a way to know if a CachedImage is showing a complete frame
Simon Fraser (smfr)
Reported
2025-09-26 19:07:04 PDT
LargestContentfulPaint needs to know if an image is showing a fully-decoded frame. For an animated image, this can mean that the entire image is still downloading (so we can't check the status()), but if the current frame is complete, we can count it for LCP. For a single-frame image, "complete" is equivalent to the image download being complete.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-09-26 19:07:16 PDT
<
rdar://problem/161453244
>
Simon Fraser (smfr)
Comment 2
2025-09-26 19:09:57 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/51425
EWS
Comment 3
2025-09-27 10:45:01 PDT
Committed
300641@main
(0fee98d9aebf): <
https://commits.webkit.org/300641@main
> Reviewed commits have been landed. Closing PR #51425 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug