- From: Florian Rivoal via GitHub <noreply@w3.org>
- Date: Fri, 12 Sep 2025 07:19:54 +0000
- To: public-css-archive@w3.org
frivoal has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-overflow] Continue:collapse, floats, and "immediately preceding" == In https://github.com/w3c/csswg-drafts/issues/10868, we decided that for the purposes of deciding whether to insert the ellipsis "immediately preceding" the clamp point ignored intervening absolutely positioned elements (and closing element boundaries, but that's not relevant here). We postponed the question of whether we should ignore all out-of-flow elements, or just absolutely positioned ones. Fixed position is a type of absolute positioning, so that's covered, but floats are separate. So, given this the following, what should happen: ```html <p> Line 1<br> Line 2 <aside>FLOAT</aside> Line 3 ``` ```css aside { float: right; } p { font-family: monospace; width: 13ch; line-clamp: 2; /*implying block-ellipsis: auto*/ width: 100ch; } ``` Rendering A: ``` Line 1 Line 2 FLOAT ``` or Rendering B: ``` Line 1 Line 2… FLOAT ``` If it's not too much trouble for implementations, I'd argue for rendering B. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12786 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 12 September 2025 07:19:55 UTC