- From: Andreu Botella via GitHub <noreply@w3.org>
- Date: Mon, 07 Jul 2025 16:03:25 +0000
- To: public-css-archive@w3.org
I just realized that the current spec text might still be seen as ambiguous wrt what counts as "immediately preceding". My understanding is that the last line box in an IFC can have the ellipsis – but the clamp point would not be defined as being after that line box, but before the start of the next in-flow block-level box in tree order. So we might need to say, or perhaps clarify, that for immediately preceding, the "ends" of boxes in the box tree don't count. And this also ties with the above out-of-flow case: ```html <div style="line-clamp: auto; max-height: 1lh"> <div> <p>Line 1</p> <div class="abspos"></div> </div> <!-- Clamp point goes here --> <p>Line 2</p> </div> ``` In this case, we'd want line 1 to have the ellipsis, so "immediately preceding" would also need to skip out-of-flow boxes. So it might make more sense to define skipping those in the `block-ellipsis` spec text. -- GitHub Notification of comment by andreubotella Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10868#issuecomment-3045732790 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 7 July 2025 16:03:26 UTC