Re: [csswg-drafts] [css-overflow] What counts as "immediately preceding" for `block-ellipsis`? (#10868)

The CSS Working Group just discussed ``[css-overflow] What counts as "immediately preceding" for `block-ellipsis`?``.

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> andreubotella: We spoke about this in TPAC in side converstaions<br>
&lt;fantasai> andreubotella: Issue is about block ellipsis, line that gets ellipsized is the one immediatley preceding the clamp point or region break<br>
&lt;fantasai> andreubotella: for continue: collapse, my PR at that point defined that the clamp point could be after a block element that didn't contain any lines<br>
&lt;fantasai> andreubotella: in TPAC we talked about only clamping after a line<br>
&lt;fantasai> andreubotella: so if you clamp based on max-height, the last element that fits on that height is a block element without any lines<br>
&lt;fantasai> andreubotella: then that element would be after the "clamp point"<br>
&lt;fantasai> andreubotella: the last line that fits, that's where the clamp point is<br>
&lt;fantasai> andreubotella: the only thing that could be immediately preceding the clamp point could be a line, because we define it that way<br>
&lt;fantasai> flackr: Thought about this. In generalized case would be less useful, but does make it sipmler<br>
&lt;fantasai> s/sipm/simp<br>
&lt;fantasai> s/flackr/florian<br>
&lt;fantasai> florian: If we apply this only for collapse and not continue: discard, then I'm fine with it<br>
&lt;andreubotella> fantasai: this clamp point would indicate where we insert the ellipsis, does it also indicate where we clamp from?<br>
&lt;andreubotella> fantasai: or can we have a case where the ellipsized line is there, and there's an image after?<br>
&lt;fantasai> florian: the proposal is to not do this. If you have a block image, you don't see it<br>
&lt;fantasai> florian: continue:collapse is deliberately simpler, for dealing with text mostly<br>
&lt;fantasai> florian: as long as we scope the answer to that case, then I'm fine<br>
&lt;fantasai> astearns: If not applying to continue:discard, why apply to continue:collapse?<br>
&lt;fantasai> astearns: Can we just make this about where we put the ellipsis, and not affect what content gets clipped?<br>
&lt;fantasai> florian: I think this was desired for other reasons as well. And as long as we're doing it, problem goes away.<br>
&lt;fantasai> florian: Can't have anything other than clamping at line<br>
&lt;astearns> ack fantasai<br>
&lt;andreubotella> fantasai: my question was the same as astearns, why make this inconsitent, why not say the ellipsis is placed on the last available line and still show anything after?<br>
&lt;fantasai> [discussion about scheduling topics during the F2F next week]<br>
&lt;fantasai> scribenick: joshtumath<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10868#issuecomment-2607788989 using your GitHub account


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

Received on Wednesday, 22 January 2025 17:03:06 UTC