From 4b0fe579ffd052eb0b435d72777062b90efbdb7d Mon Sep 17 00:00:00 2001 From: Florian Rivoal Date: Thu, 21 Dec 2023 13:01:24 +0900 Subject: [PATCH] [css-text] Change line-end behavior of text-spacing-trim: space-first See #9736 --- css-text-4/Overview.bs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/css-text-4/Overview.bs b/css-text-4/Overview.bs index 956f26256d7..3952c01ab90 100644 --- a/css-text-4/Overview.bs +++ b/css-text-4/Overview.bs @@ -10495,7 +10495,7 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the [=block container=] and each line after a [=forced line break=]. - Otherwise as ''trim-auto''. + Otherwise as ''text-spacing/normal''. text-spacing-trim/text-spacing-trim-001.html @@ -10539,6 +10539,15 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property to freely switch among the various spacing/indentation styles without needing to alter the content. See [[#japanese-start-edges]] for examples. + + Additionally, the behavior at the end of lines is aligned + with the ''text-spacing-trim/normal'' and ''trim-start'' values + rather than ''text-spacing-trim/trim-auto'', + in that it only trims the glyphs + if they do not otherwise fit prior to justification. + While improving the typography in fewer cases, + it is closer to the legacy behavior of ''space-all'' + which reduces compatibility concerns.
trim-start @@ -10597,11 +10606,10 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property yes ''trim-start'' - only if would not fit + only if would not fit ''space-first'' yes except on the first line - yes ''trim-all'' yes