Support for the "auto" keyword in contain-intrinsic-size lets web sites use the last remembered size of an element (if any), which providers for a better user experience as elements have size containment turned on and off, e.g. through content-visibility: auto.

Motivation

Without this feature, web developers have to guess at the rendered size of the element; when used with content-visibility: auto, this may lead to elements "jumping around".

Specification

Editor's draft

Status in Chromium

Blink>Layout


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Intent to Prototype url

Intent to Prototype thread

Search tags

contain-intrinsic-size, contain intrinsic size, auto,

Last updated on 2021-04-26