@@ -10379,7 +10379,7 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10379
10379
Values are defined as follows:
10380
10380
10381
10381
<pre class=prod>
10382
- <dfn><<spacing-trim>></dfn> = space-all | trim-auto | [ allow-end || space-first ]
10382
+ <dfn><<spacing-trim>></dfn> = space-all | trim-auto | [ allow-end || space-first ] | trim-all
10383
10383
</pre>
10384
10384
10385
10385
<dl dfn-for=text-spacing-trim dfn-type=value>
@@ -10447,6 +10447,15 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10447
10447
Otherwise as '' trim-auto''
10448
10448
(unless '' space-first'' is also specified).
10449
10449
10450
+ <dt><dfn>trim-all</dfn>
10451
+ <dd>
10452
+ Set <a>fullwidth opening punctuation</a>,
10453
+ <a>fullwidth closing punctuation</a>,
10454
+ and <a>fullwidth middle dot punctuation</a>
10455
+ with half-width glyphs,
10456
+ without regards for the position within the line
10457
+ nor for adjacent characters.
10458
+
10450
10459
<dt><dfn>auto</dfn>
10451
10460
<dd>
10452
10461
The user agent chooses a set of typographically high quality spacing values.
@@ -10510,7 +10519,10 @@ Fullwidth Punctuation Collapsing</h4>
10510
10519
the font has proportional ideographs
10511
10520
and the fullwidth advance width cannot be reliably determined by measuring glyphs.
10512
10521
10513
- Unless 'text-spacing-trim' is set to '' space-all''
10522
+ If 'text-spacing-trim' is '' trim-all'',
10523
+ the UA must collapse the space typically associated with such full width glyphs
10524
+ regardless of the context in which they appear.
10525
+ Otherwise, unless 'text-spacing-trim' is set to '' space-all''
10514
10526
(or the font has proportional fullwidth punctuation glyphs),
10515
10527
the UA must collapse the space typically associated with such full width glyphs
10516
10528
when placed adjacently on a line
@@ -12837,6 +12849,8 @@ Changes</h2>
12837
12849
(since it can no longer depend on <code>word-boundary-detection</code>).
12838
12850
and update supporting related mechanics.
12839
12851
* Rename <code>word-boundary-expansion</code> to 'word-space-transform'
12852
+ * Add '' trim-all'' to 'text-spacing-trim'.
12853
+ (<a href="https://github.com/w3c/csswg-drafts/issues/8482">Issue 8482</a>)
12840
12854
12841
12855
Significant changes since the <a href="https://www.w3.org/TR/2023/WD-css-text-4-20230301/">1 March 2022 Working Draft</a> include:
12842
12856
* Completed the translation of 'white-space' to multiple longhands by
0 commit comments