content-visibility Measured: One CSS Line, 15x Less Layout
Same HTML, same bytes, one CSS line, and forced layout dropped from 27.3ms to 1.8ms. I traced content-visibility: auto in Chrome and mapped its a11y traps.
Tags
2 posts
Same HTML, same bytes, one CSS line, and forced layout dropped from 27.3ms to 1.8ms. I traced content-visibility: auto in Chrome and mapped its a11y traps.
Slow LCP is rarely about image weight — it is about when the browser finds it. I traced a CSS hero invisible to the preload scanner and cut LCP 1247ms to 109ms.