blob: 6296e9578f421ed5e221075bd879991a91d5c447 [file] [log] [blame] [view]
Ian Clelland6688e622023-09-04 20:57:151# Largest Contentful Paint change in Chrome 116 to better handle animated content.
2
3Starting around Chrome 116, we're making two changes to the way that LCP handles
4animated images and videos. In both cases, Chrome will count the time that the
5first full frame is presented as the timestamp for the candidate.
6
7# Videos
8
9Videos have previously been ignored for LCP, unless they have a poster image.
10With this change, a video element can become an LCP candidate, exactly like an
11image. If it is used as a candidate, then the associated timestamp will be the
12time that the first video frame is presented on screen.
13
14# Animated images
15
16Animated images (animated GIFs and PNGs) were previously not considered as LCP
17candidates until they were fully loaded. For large files, this could be long
18after the video has been playing on screen. This change counts the time that the
19first frame of the animation is displayed, if the image becomes an LCP
20candidate.
21
22## How does this affect a site's metrics?
Barry Pollard27c7fe12025-03-20 17:41:2523
Ian Clelland6688e622023-09-04 20:57:1524Pages with large auto-playing videos should start seeing that video used as the
25LCP element. LCP scores may improve or regress on those pages, depending on what
26element is currently being chosen as LCP.
27
28Pages with large animated images will likely see LCP scores improve, as the
29image will be reported with an earlier timestamp than before.
30
Barry Pollard27c7fe12025-03-20 17:41:2531Note for now, this only affects UKM (and so CrUX) reporting of LCP and does not
32affect PerformanceObserver observations as measured in JavaScript.
33
Ian Clelland6688e622023-09-04 20:57:1534## When were users affected?
Barry Pollard27c7fe12025-03-20 17:41:2535
Ian Clelland6688e622023-09-04 20:57:1536This change was launched to Chrome users starting on roughly 2023-08-22, to be
37rolled out to existing Chrome 116+ installs over a 14 day period.