You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -10526,7 +10526,7 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10526
10526
and collapse spacing between punctuation glyphs
10527
10527
<a href="#fullwidth-collapsing">as described below</a>.
10528
10528
10529
-
<dt><dfn>trim-auto</dfn>
10529
+
<dt><dfn>trim-both</dfn>
10530
10530
<dd>
10531
10531
Set <a>fullwidth opening punctuation</a> with half-width glyphs (flush)
10532
10532
at the start of each line;
@@ -10555,7 +10555,7 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10555
10555
<summary>This value exists for compat requirements.</summary>
10556
10556
10557
10557
This value exists to manage formatting of some existing Chinese and Japanese content,
10558
-
for which ''trim-auto'' would have been appropriate typographically,
10558
+
for which ''trim-both'' would have been appropriate typographically,
10559
10559
except that they are already written
10560
10560
to expect the first line to be set as for ''space-all''.
10561
10561
@@ -10566,7 +10566,7 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10566
10566
but omits it when the paragraph begins with punctuation
10567
10567
that is desired to hang in the indent
10568
10568
in order to create the hanging punctuation effect.
10569
-
Using ''trim-auto'' on the first line
10569
+
Using ''trim-both'' on the first line
10570
10570
would thus trim away the effective indent in such content
10571
10571
and thus obscure that line's distinction
10572
10572
as the first line of a new paragraph.
@@ -10586,7 +10586,7 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10586
10586
10587
10587
Additionally, the behavior at the end of lines is aligned
10588
10588
with the ''text-spacing-trim/normal'' and ''trim-start'' values
10589
-
rather than ''text-spacing-trim/trim-auto'',
10589
+
rather than ''text-spacing-trim/trim-both'',
10590
10590
in that it only trims the glyphs
10591
10591
if they do not otherwise fit prior to justification.
10592
10592
While improving the typography in fewer cases,
@@ -10626,7 +10626,7 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10626
10626
10627
10627
Note: These spacing values may or may not match OS platform conventions.
10628
10628
10629
-
ISSUE: Do we need ''text-spacing-trim/auto''? It would be weird for the author to choose platform-dependent behavior at the start of the first line, and it should otherwise use ''text-spacing-trim/trim-auto''.
10629
+
ISSUE: Do we need ''text-spacing-trim/auto''? It would be weird for the author to choose platform-dependent behavior at the start of the first line, and it should otherwise use ''text-spacing-trim/trim-both''.
10630
10630
</dl>
10631
10631
10632
10632
<div class=note>
@@ -10637,8 +10637,8 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10637
10637
<tr>
10638
10638
<th>Value
10639
10639
<th>Trim at line start
10640
-
<th>Trim adjacent pairs
10641
10640
<th>Trim at line end
10641
+
<th>Trim adjacent pairs
10642
10642
<th>Trim everywhere
10643
10643
<tbody>
10644
10644
<tr>
@@ -10647,19 +10647,18 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10647
10647
<tr>
10648
10648
<th>''text-spacing-trim/normal''
10649
10649
<td>no
10650
+
<td rowspan=3>only if would not fit
10650
10651
<td rowspan=4>yes
10651
-
<td>only if would not fit
10652
10652
<td rowspan=4>no
10653
10653
<tr>
10654
-
<th>''trim-auto''
10655
-
<td rowspan=2>yes
10656
-
<td>yes
10654
+
<th>''space-first''
10655
+
<td>yes except on the first line
10657
10656
<tr>
10658
10657
<th>''trim-start''
10659
-
<td rowspan=2>only if would not fit
10658
+
<td rowspan=2>yes
10660
10659
<tr>
10661
-
<th>''space-first''
10662
-
<td>yes except on the first line
10660
+
<th>''trim-both''
10661
+
<td>yes
10663
10662
<tr>
10664
10663
<th>''trim-all''
10665
10664
<td colspan=4>yes
@@ -11013,7 +11012,7 @@ Japanese Paragraph-start Conventions in CSS</h4>
11013
11012
p { /* Flush alignment */
11014
11013
margin: 0;
11015
11014
text-indent: 1em;
11016
-
text-spacing-trim: trim-auto;
11015
+
text-spacing-trim: trim-both;
11017
11016
}
11018
11017
</pre>
11019
11018
@@ -11033,7 +11032,7 @@ Japanese Paragraph-start Conventions in CSS</h4>
11033
11032
p { /* Hanging alignment */
11034
11033
margin: 0;
11035
11034
text-indent: 1em;
11036
-
text-spacing-trim: trim-auto;
11035
+
text-spacing-trim: trim-both;
11037
11036
hanging-punctuation: first;
11038
11037
}
11039
11038
</pre>
@@ -13113,7 +13112,8 @@ Changes</h2>
13113
13112
Changes specific to Level 4 are listed below.
13114
13113
13115
13114
Significant changes since the <a href="https://www.w3.org/TR/2024/WD-css-text-4-20240219/">19 February 2024 Working Draft</a> include:
13116
-
* None yet
13115
+
* Renamed the 'text-spacing-trim' value <css>trim-auto</css> to ''trim-both''.
0 commit comments