- From: Andreu Botella via GitHub <noreply@w3.org>
- Date: Fri, 10 Apr 2026 02:05:09 +0000
- To: public-css-archive@w3.org
andreubotella has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-overflow] `block-ellipsis` displaced line strut clarification == When the `block-ellipsis` property (one of the `line-clamp` longhands) inserts an ellipsis, it can completely displace the contents of a line. When this happens, "the line box is considered to contain a [strut](https://www.w3.org/TR/CSS21/visudet.html#strut), as defined in [CSS 2 ยง 10.8.1 Leading and half-leading](https://www.w3.org/TR/CSS2/visudet.html#leading)." (The more recent non-CR definition is in [css-inline-3](https://drafts.csswg.org/css-inline-3/#inline-height).) However, this turns out to be ambiguous. A strut is associated with an inline box (including the [root inline box](https://drafts.csswg.org/css-inline-3/#root-inline-box)), and its metrics depend on the inline box's styles. So what happens when the clamp point is inside multiple inline boxes? My understanding of this so far was the strut mentioned corresponded to the root inline box, and that other inline boxes didn't affect this, but this isn't explicit in the spec text at all. cc @frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13786 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 10 April 2026 02:05:14 UTC