Bug 299647
| Summary: | Add a way to know if a CachedImage is showing a complete frame | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Images | Assignee: | Simon Fraser (smfr) <simon.fraser> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Simon Fraser (smfr)
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
<rdar://problem/161453244>
Simon Fraser (smfr)
Pull request: https://github.com/WebKit/WebKit/pull/51425
EWS
Committed 300641@main (0fee98d9aebf): <https://commits.webkit.org/300641@main>
Reviewed commits have been landed. Closing PR #51425 and removing active labels.