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

I disagree that what you're describing is optimal - a half-space surrounding the text isn't desired in many situations, and if you consider nested inlines with different letter-spacing values, it would massively complicate your proposal. The existing specification doesn't do this. But, if it were implemented the behaviour you describe could still be achieved (with `letter-spacing:2em; padding-inline: 1em`)

The problem is not specifying the correct behaviour, it's that the existing spec is not implemented because a large body of websites have added workarounds to the behaviour as it's currently implemented, and these sites would break if the specified behaviour were implemented.

If I can paraphrase what I believe is suggested above, the short term plan is to fix the most obviously broken case where letter spacing is messing with the spacing at the end of the line. The mid-term plan is to find a way to for authors to opt-in to the "new" letter-spacing behaviour, to enable it for those that want it, but not breaking existing websites that don't.


-- 
GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1518#issuecomment-654140115 using your GitHub account

Received on Monday, 6 July 2020 10:04:49 UTC