Re: [csswg-drafts] [css-overflow] Behavior of the line-clamp ellipsis after hanging glyphs (#12857)

The CSS Working Group just discussed `[css-overflow] Behavior of the line-clamp ellipsis after hanging glyphs`, and agreed to the following:

* `RESOLVED: Accept florian's text about spaces`
* `RESOLVED: add a note clarifying that when you have an ellipsis after punctuation, it's no longer at the end of the line and thus can't hang`
* ``RESOLVED: The ellipsis should be subject to `hanging-punctuation` rules``

<details><summary>The full IRC log of that discussion</summary>
&lt;emilio> andreubotella: in #12008 we defined that usual whitespace processing rules applied<br>
&lt;emilio> ... if a line ends with non-collapsible whitespace, it might require to hang<br>
&lt;florian> q+<br>
&lt;emilio> ... hanging glyphs are supposed to be at the end of the line<br>
&lt;emilio> ... but the ellipsis probably shouldn't hang<br>
&lt;emilio> ... we could prevent hanging which would be the obvious way to solve it<br>
&lt;emilio> ... the best for author would be to remove hanging white-space<br>
&lt;emilio> ... now we have hanging-punctuation, these are two main options<br>
&lt;emilio> ... but also should we allow the ellipsis to hang?<br>
&lt;astearns> ack florian<br>
&lt;emilio> ... with `hanging-punctuation`?<br>
&lt;emilio> florian: as a reminder, we've resolved that if there are any spaces that would be deleted by white-space processing we delete them before inserting the ellipsis<br>
&lt;emilio> ... I think hanging ones need to be removed as well<br>
&lt;emilio> ... for other things I don't think we need to define anything<br>
&lt;emilio> ... because they wouldn't be at the end of the line<br>
&lt;emilio> ... and thus wouldn't be allowed to hang<br>
&lt;emilio> ... so we only need to special-case the spaces<br>
&lt;emilio> ... proposed text in the issue<br>
&lt;emilio> ... [reads]<br>
&lt;astearns> ack fantasai<br>
&lt;emilio> fantasai: I think instead we should say that the ellipsis prevents any whitespace from hanging<br>
&lt;emilio> ... which you might have to remove some of it<br>
&lt;emilio> florian: we want to remove them all, hanging or not<br>
&lt;emilio> ... the ones that don't hang get removed already, that's resolved already<br>
&lt;emilio> fantasai: if spaces are significant at EOL you want the ellipsis after however many spaces fit<br>
&lt;emilio> ... if not then you'd want to trim all of them<br>
&lt;emilio> florian: I think that's what my text does<br>
&lt;emilio> andreubotella: your text would behave differently for spaces and hanging punctuation<br>
&lt;emilio> florian: what are the other separators again?<br>
&lt;emilio> ... unicode cat Z<br>
&lt;emilio> fantasai: that includes em space and other spaces<br>
&lt;emilio> andreubotella: I was talking about hanging punctuation<br>
&lt;emilio> florian: punctuation we keep<br>
&lt;TabAtkins> s/hanging/han/<br>
&lt;TabAtkins> hanging han punct<br>
&lt;TabAtkins> (this is why we use the term "CJK", people)<br>
&lt;fantasai> emilio: Space situation seems clear?<br>
&lt;emilio> RESOLVED: Accept florian's text about spaces<br>
&lt;emilio> florian: for hanging punctuation we should solve it with a note that when you have an ellipsis after it, it's no longer at the end of the line and thus can't hang<br>
&lt;dholbert> scribe+<br>
&lt;emilio> emilio: should the ellipsis hang if you specify `hanging-punctuation` tho?<br>
&lt;emilio> emilio: separate q tho<br>
&lt;emilio> florian: re that, the ellipsis should follow the usual hanging rules, so it might be allowed to hang<br>
&lt;emilio> emilio: does that mean that it might keep other punctuation also hanging?<br>
&lt;emilio> florian: I don't think there's any mode that currently would cause that<br>
&lt;emilio> PROPOSED: add a note clarifying that when you have an ellipsis after punctuation, it's no longer at the end of the line and thus can't hang<br>
&lt;fantasai> +1<br>
&lt;emilio> RESOLVED: add a note clarifying that when you have an ellipsis after punctuation, it's no longer at the end of the line and thus can't hang<br>
&lt;emilio> PROPOSED: The ellipsis should be subject to `hanging-punctuation`<br>
&lt;emilio> RESOLVED: The ellipsis should be subject to `hanging-punctuation` rules<br>
</details>


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


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

Received on Tuesday, 27 January 2026 23:14:14 UTC