[csswg-drafts] [css-text-3] Always hang trailing spaces to ensure interop under non-start alignment

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text-3] Always hang trailing spaces to ensure interop under non-start alignment ==
Currently the spec says that UAs can either hang spaces at the end of the line or visually collapse spaces that overflow. This is fine for left-aligned text, it doesn't really affect layout, but for right-aligned or centered text, it affects alignment: UAs doing the former ignore the spaces for text alignment, but the latter include them (or some of them) when performing text alignment.

Proposal is to require hanging the spaces (this is a technical term in CSS Text meaning they aren't measured for fit or alignment in the line box), and to *additionally* allow the UA to visually-collapse any spaces that overflow. Behavior should be identical in left-aligned text, but will yield consistent behavior in centered and right-aligned text.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3116 using your GitHub account

Received on Sunday, 16 September 2018 07:08:17 UTC