Skip to content

Adding contain-intrinsic-size (suggestion) #5630

@azaleamollis

Description

@azaleamollis

The new contain-intrinsic-size can be used together with content-visibility, see https://web.dev/content-visibility/

"Thankfully, CSS provides another property, contain-intrinsic-size, which effectively specifies the natural size of the element if the element is affected by size containment."

It's defined here: https://www.w3.org/TR/css-sizing-4/#propdef-contain-intrinsic-size

Already supported by Chromium: https://www.chromestatus.com/feature/5737051062272000

Maybe worth adding?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions