- From: Florian Rivoal via GitHub <noreply@w3.org>
- Date: Thu, 09 Apr 2026 04:00:15 +0000
- To: public-css-archive@w3.org
You are right, they are very close, and I would agree that in the general case, trim-both is a better/safer value. I think the main useful difference comes whenusing justification: `trim-both` will give a flush right edge, while `trim-start` will visually have a `0.5ic` gap at the end of lines where the last character is a closing punctuation. This may seem like another argument in favor of `trim-both`, and to some authors it will be, but if you have sized your lines to be an integer number of characters, removing that gap means you need to distribute in throughout the line, which can break the visual grid-line alignment of characters. Authors who don't care about that will be better served by `trim-both` I think, but some may, so offering it as a choice seem useful. At least that's what I think the reason for having both is. If we don't really care about that, I think I'd agree that `trim-both` is enough, and that we could remove `trim-start`. -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13779#issuecomment-4211365482 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 9 April 2026 04:00:16 UTC