W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] [css-text] letter-spacing should not apply to the end edge of a line/span? (#1518)

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Tue, 28 Jul 2020 20:15:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-665256707-1595967353-sysbot+gh@w3.org>
@jfkthame's idea works for me, it solves many issues including center-aligned case.

A few issues we'd like to keep in mind. It doesn't solve right-aligned case, but authors can still work around by using negative margins, and it is less common than center-aligned. It also doesn't solve excess underlines, which is [a little harder to work around](https://iamsteve.me/blog/entry/remove-letter-spacing-from-last-letter#removing-the-excess-underline-from-letter-spacing). Technically speaking, border/background too, but I think it is common to add spacing for these cases, so they might be ok.

I'm fine to have a switch or a new separate property, just need it to be opt-in.

GitHub Notification of comment by kojiishi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1518#issuecomment-665256707 using your GitHub account
Received on Tuesday, 28 July 2020 20:15:56 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:12 UTC