@@ -10492,6 +10492,9 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10492
10492
text-spacing-trim/text-spacing-trim-colon-001.html
10493
10493
text-spacing-trim/text-spacing-trim-combinations-001.html
10494
10494
text-spacing-trim/text-spacing-trim-dot-001.html
10495
+ text-spacing-trim/text-spacing-trim-quote-001.html
10496
+ text-spacing-trim/text-spacing-trim-wrap-001.html
10497
+ text-spacing-trim/text-spacing-trim-wrap-br-001.html
10495
10498
</wpt>
10496
10499
10497
10500
<details class="note">
@@ -10569,10 +10572,7 @@ Fullwidth Punctuation Collapsing</h4>
10569
10572
10570
10573
The following aspects lack tests:
10571
10574
* The UA must not use the hwid feature or otherwise substitute halfwidth forms as switching to halfwidth glyphs can change the glyph shape which is not acceptable here.
10572
- * adjacency to U+3000
10573
- * changing font sizes
10574
- * must not apply to proportional
10575
- * Pe and Ps classes"></wpt>
10575
+ * changing font sizes"></wpt>
10576
10576
10577
10577
Typically, fullwidth characters have glyphs with the same advance width
10578
10578
as a standard Han character (e.g. 水 U+6C34).
@@ -10609,6 +10609,10 @@ Fullwidth Punctuation Collapsing</h4>
10609
10609
simultaneously full-width and half-width:
10610
10610
the UA must not add or remove space to these glyphs.
10611
10611
10612
+ <wpt>
10613
+ text-spacing-trim/text-spacing-trim-feature-001.html
10614
+ </wpt>
10615
+
10612
10616
Note: The advance width of a standard Han character
10613
10617
can be determined either from font metrics
10614
10618
such as the OpenType <code>ideo</code> and <code>idtp</code> baselines for the opposite writing mode,
@@ -10634,19 +10638,48 @@ Fullwidth Punctuation Collapsing</h4>
10634
10638
<li>
10635
10639
Set <a>fullwidth opening punctuation</a> half-width if the previous character is any of:
10636
10640
* a <a>fullwidth opening punctuation</a>
10641
+ <wpt>
10642
+ text-spacing-trim/text-spacing-trim-001.html
10643
+ text-spacing-trim/text-spacing-trim-colon-001.html
10644
+ </wpt>
10637
10645
* a <a>fullwidth middle dot punctuation</a>
10646
+ <wpt>
10647
+ text-spacing-trim/text-spacing-trim-dot-001.html
10648
+ </wpt>
10638
10649
* an ideographic space (U+3000)
10650
+ <wpt>
10651
+ text-spacing-trim/text-spacing-trim-001.html
10652
+ </wpt>
10639
10653
* a <a>fullwidth closing punctuation</a> of an equivalent or larger 'font-size'
10654
+ <wpt>
10655
+ text-spacing-trim/text-spacing-trim-001.html
10656
+ </wpt>
10640
10657
* a character belonging to Unicode [=general category=] <code>Ps</code>
10658
+ <wpt>
10659
+ text-spacing-trim/text-spacing-trim-quote-001.html
10660
+ text-spacing-trim/text-spacing-trim-narrow-001.html
10661
+ </wpt>
10641
10662
10642
10663
Otherwise set it full-width.
10643
10664
<li>
10644
10665
Set <a>fullwidth closing punctuation</a> half-width if the next character is any of:
10645
10666
* a <a>fullwidth closing punctuation</a>
10667
+ <wpt>
10668
+ text-spacing-trim/text-spacing-trim-001.html
10669
+ </wpt>
10646
10670
* a <a>fullwidth middle dot punctuation</a>
10671
+ <wpt>
10672
+ text-spacing-trim/text-spacing-trim-dot-001.html
10673
+ </wpt>
10647
10674
* an ideographic space (U+3000)
10675
+ <wpt>
10676
+ text-spacing-trim/text-spacing-trim-001.html
10677
+ </wpt>
10648
10678
* a <a>fullwidth opening punctuation</a> of a larger 'font-size'
10649
10679
* a character belonging to Unicode [=general category=] <code>Pe</code>
10680
+ <wpt>
10681
+ text-spacing-trim/text-spacing-trim-narrow-001.html
10682
+ </wpt>
10650
10683
10651
10684
Otherwise set it full-width.
10652
10685
</ul>
0 commit comments