Skip to content

Commit 17c7e0e

Browse files
committed
[css-text-4] update test coverage
1 parent 2e1b99f commit 17c7e0e

File tree

1 file changed

+57
-4
lines changed

1 file changed

+57
-4
lines changed

css-text-4/Overview.bs

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10353,7 +10353,14 @@ Inter-script Spacing</h4>
1035310353
<h3 id="text-spacing-trim-property">
1035410354
CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
1035510355
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>
1035710364
1035810365
<pre class="propdef">
1035910366
Name: text-spacing-trim
@@ -10367,7 +10374,13 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
1036710374
</pre>
1036810375
1036910376
<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
1037010382
text-spacing-trim/text-spacing-trim-combinations-001.html
10383+
text-spacing-trim/text-spacing-trim-dot-001.html
1037110384
</wpt>
1037210385
1037310386
Controls spacing around CJK punctuation characters
@@ -10386,7 +10399,11 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
1038610399
1038710400
<dt><dfn>space-all</dfn>
1038810401
<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>
1039010407
1039110408
<dt><dfn>trim-auto</dfn>
1039210409
<dd>
@@ -10404,6 +10421,13 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
1040410421
Otherwise as ''trim-auto''
1040510422
(unless ''text-spacing-trim/allow-end'' is also specified).
1040610423
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+
1040710431
<details class="note">
1040810432
<summary>This value exists for compat requirements.</summary>
1040910433
@@ -10456,6 +10480,10 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
1045610480
without regards for the position within the line
1045710481
nor for adjacent characters.
1045810482
10483+
<wpt>
10484+
text-spacing-trim/text-spacing-trim-trim-all-001.html
10485+
</wpt>
10486+
1045910487
<dt><dfn>auto</dfn>
1046010488
<dd>
1046110489
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>
1047010498
<h4 id="fullwidth-collapsing">
1047110499
Fullwidth Punctuation Collapsing</h4>
1047210500
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>
1047410510
1047510511
Typically, fullwidth characters have glyphs with the same advance width
1047610512
as a standard Han character (e.g. 水 U+6C34).
@@ -10549,6 +10585,13 @@ Fullwidth Punctuation Collapsing</h4>
1054910585
Otherwise set it full-width.
1055010586
</ul>
1055110587
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+
1055210595
<div class="example">
1055310596
The following example table lists the punctuation pairs
1055410597
affected by adjacent-pairs trimming.
@@ -10593,7 +10636,17 @@ Fullwidth Punctuation Collapsing</h4>
1059310636
<h4 id="text-spacing-classes">
1059410637
Text Spacing Character Classes</h4>
1059510638
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>
1059710650
1059810651
In the context of this property the following definitions apply:
1059910652

0 commit comments

Comments
 (0)