Speed up rendering with content-visibility: auto ⚡ This CSS property skips rendering off-screen content until needed, giving massive performance wins on long pages. ⋅ Pairs with contain-intrinsic-size ⋅ Zero-effort lazy rendering Learn more 👇 developer.mozilla.org/en-US/docs/...
Post
I haven't. I've been focusing on stuff as it lands in Firefox or becomes baseline. Whereas content-visibility became baseline in 2024. I did something on it in a previous life though www.youtube.com/watch?v=FFA-...
youtube.comSlashing layout cost with content-visibility - HTTP 203YouTube video by Chrome for Developers
I assume that setting contain-intrinsic-size is still necessary to avoid all content-visibility: auto sections to stack on each other and get layout once this massive stack becomes visible? As mentioned in this great video? (FYI: the glitch link in the description does not work anymore)
0 reposts1 like
Maybe something that @openwebdocs.org or @developer.mozilla.org could look into improving? If you feel up for it I think you can send a PR to the MDN docs as well :)