Re: [csswg-drafts] [css-overflow][css-contain][css-sizing] `overflow: auto` incompatible with size containment and container queries (#7875)

There's also the problem that `content-visibility: auto` and `contain-intrinsic-size: auto` are supposed to keep a stable outer size regardless of whether the element gets size containment. However, if the outer size can vary depending on overflowing contents in the non-contained case, but not in the contain-case, then there is a problem.

Also, the last remembered size records an inner size which doesn't include scrollbars. With the last resolution it's a problem if the size of the scrollbars will be subtracted from that. So the resolution should either be amended, or `ResizeObserver` should provide a way to track content size plus scrollbars.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7875#issuecomment-1331827279 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 November 2022 08:54:59 UTC