@@ -10353,7 +10353,14 @@ Inter-script Spacing</h4>
10353
10353
<h3 id="text-spacing-trim-property">
10354
10354
CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10355
10355
10356
- <wpt title="This section lacks tests."></wpt>
10356
+ <wpt title="
10357
+ This section has spotty test coverage.
10358
+
10359
+ The following aspects lack tests:
10360
+ * inheritance
10361
+ * animation type
10362
+ * applies to text
10363
+ * tests for trim-auto, allow-end, auto values"></wpt>
10357
10364
10358
10365
<pre class="propdef">
10359
10366
Name: text-spacing-trim
@@ -10367,7 +10374,13 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10367
10374
</pre>
10368
10375
10369
10376
<wpt>
10377
+ parsing/text-spacing-trim-computed.html
10378
+ parsing/text-spacing-trim-invalid.html
10379
+ parsing/text-spacing-trim-valid.html
10380
+ text-spacing-trim/text-spacing-trim-001.html
10381
+ text-spacing-trim/text-spacing-trim-colon-001.html
10370
10382
text-spacing-trim/text-spacing-trim-combinations-001.html
10383
+ text-spacing-trim/text-spacing-trim-dot-001.html
10371
10384
</wpt>
10372
10385
10373
10386
Controls spacing around CJK punctuation characters
@@ -10386,7 +10399,11 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10386
10399
10387
10400
<dt><dfn>space-all</dfn>
10388
10401
<dd>
10389
- All fullwidth punctuation characters are set with full-width glyphs (spaced).
10402
+ All fullwidth punctuation characters are set with full-width glyphs (spaced).
10403
+
10404
+ <wpt>
10405
+ text-spacing-trim/text-spacing-trim-space-all-001.html
10406
+ </wpt>
10390
10407
10391
10408
<dt><dfn>trim-auto</dfn>
10392
10409
<dd>
@@ -10404,6 +10421,13 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10404
10421
Otherwise as '' trim-auto''
10405
10422
(unless '' text-spacing-trim/allow-end'' is also specified).
10406
10423
10424
+ <wpt>
10425
+ text-spacing-trim/text-spacing-trim-001.html
10426
+ text-spacing-trim/text-spacing-trim-colon-001.html
10427
+ text-spacing-trim/text-spacing-trim-combinations-001.html
10428
+ text-spacing-trim/text-spacing-trim-dot-001.html
10429
+ </wpt>
10430
+
10407
10431
<details class="note">
10408
10432
<summary>This value exists for compat requirements.</summary>
10409
10433
@@ -10456,6 +10480,10 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10456
10480
without regards for the position within the line
10457
10481
nor for adjacent characters.
10458
10482
10483
+ <wpt>
10484
+ text-spacing-trim/text-spacing-trim-trim-all-001.html
10485
+ </wpt>
10486
+
10459
10487
<dt><dfn>auto</dfn>
10460
10488
<dd>
10461
10489
The user agent chooses a set of typographically high quality spacing values.
@@ -10470,7 +10498,15 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
10470
10498
<h4 id="fullwidth-collapsing">
10471
10499
Fullwidth Punctuation Collapsing</h4>
10472
10500
10473
- <wpt title="This section lacks tests."></wpt>
10501
+ <wpt title="
10502
+ This section has basic test coverage.
10503
+
10504
+ The following aspects lack tests:
10505
+ * 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.
10506
+ * adjacency to U+3000
10507
+ * changing font sizes
10508
+ * must not apply to proportional
10509
+ * Pe and Ps classes"></wpt>
10474
10510
10475
10511
Typically, fullwidth characters have glyphs with the same advance width
10476
10512
as a standard Han character (e.g. 水 U+6C34).
@@ -10549,6 +10585,13 @@ Fullwidth Punctuation Collapsing</h4>
10549
10585
Otherwise set it full-width.
10550
10586
</ul>
10551
10587
10588
+ <wpt>
10589
+ text-spacing-trim/text-spacing-trim-001.html
10590
+ text-spacing-trim/text-spacing-trim-colon-001.html
10591
+ text-spacing-trim/text-spacing-trim-combinations-001.html
10592
+ text-spacing-trim/text-spacing-trim-dot-001.html
10593
+ </wpt>
10594
+
10552
10595
<div class="example">
10553
10596
The following example table lists the punctuation pairs
10554
10597
affected by adjacent-pairs trimming.
@@ -10593,7 +10636,17 @@ Fullwidth Punctuation Collapsing</h4>
10593
10636
<h4 id="text-spacing-classes">
10594
10637
Text Spacing Character Classes</h4>
10595
10638
10596
- <wpt title="This section lacks tests."></wpt>
10639
+ <wpt title="
10640
+ This section is mostly definitions,
10641
+ which are tested through their use in other sections,
10642
+ rather than needing tests of their own.
10643
+
10644
+ However, there are normative statements,
10645
+ so far untested,
10646
+ notably the classification
10647
+ of fullwidth colon punctuation and fullwidth dot punctuation
10648
+ under either the fullwidth closing punctuation category
10649
+ or the fullwidth middle dot punctuation category."></wpt>
10597
10650
10598
10651
In the context of this property the following definitions apply:
10599
10652
0 commit comments