- From: Rune Lillesveen via GitHub <sysbot+gh@w3.org>
- Date: Wed, 25 Aug 2021 14:14:52 +0000
- To: public-css-archive@w3.org
I don't understand how the cross-axis overflow case is any different for single-axis containment and container queries than what is currently the issue with overflow:auto and contain:size. Regarding maintaining the same inline-size, we cannot do that even for contain:size, I think. In this case, the inline size of the #contain element depends on its #spanner content via the scrollbar it triggers: ```html <!doctype html> <style> #scroller { width: 400px; height: 400px; overflow: auto; } #contain { contain: size; border: 2px solid green; } #spanner { height: 2000px; border: 2px solid red; } </style> <div id="scroller"> <div id="contain"> <div id="spanner">Spanner</div> </div> </div> ``` -- GitHub Notification of comment by lilles Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6426#issuecomment-905539349 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 25 August 2021 14:14:53 UTC