- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Mon, 11 Nov 2024 12:38:03 +0000
- To: public-css-archive@w3.org
> Why does a "same bfc block" (without clear) trigger wrapping when neither an inline element or a "new bfc block" do? It seems reasonable to me, because "same bfc blocks" overlap floats. Note that the min/max-content of the "same bfc block" may be set by some long word that appears after several lines, so it may already be past all floats. ```html <div style="display: block; width: max-content; border: 2px solid green"> <div style="float: left; width: 50px; height: 50px; border: 2px solid red;"></div> <div> <br> <br> <br> aaaaa </div> </div> ``` It would then seem quite weird if the green wrapper was wider than the current behavior: ![](https://github.com/user-attachments/assets/37639b1b-1746-4ff6-8095-4c5d5fdf5668) -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9120#issuecomment-2468081690 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 11 November 2024 12:38:04 UTC