Skip to content

[css-sizing] contain-intrinsic-size also applies to elements without size containment #7531

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

Open
Loirooriol opened this issue Jul 25, 2022 · 0 comments

Comments

@Loirooriol
Copy link
Contributor

https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override

Applies to: elements with size containment

That's not completely right, because auto values have an effect when there is no size containment:

At the time that ResizeObserver events are determined and delivered, if an element has contain-intrinsic-size: auto, is capable of being a ResizeObserver target, but does not have size containment, record the current inner dimensions of its principal box as its last remembered 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

1 participant