Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding contain-intrinsic-size (suggestion) #5630

Open
azaleamollis opened this issue Sep 28, 2020 · 1 comment
Open

Adding contain-intrinsic-size (suggestion) #5630

azaleamollis opened this issue Sep 28, 2020 · 1 comment

Comments

@azaleamollis
Copy link

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?

@Schweinepriester
Copy link
Contributor

Available via MDN now: https://caniuse.com/?search=contain-intrinsic-size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants