Skip to content

Commit 3324b2e

Browse files
committed
[css-text] Update test coverage information
1 parent 76af2f3 commit 3324b2e

File tree

2 files changed

+124
-7
lines changed

2 files changed

+124
-7
lines changed

css-text-3/Overview.bs

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ Text Processing</h3>
394394
inheritance.html
395395
parsing/text-transform-valid.html
396396
parsing/text-transform-invalid.html
397+
parsing/text-transform-computed.html
397398
text-transform/text-transform-multiple-001.html
398399
</wpt>
399400

@@ -458,6 +459,7 @@ Text Processing</h3>
458459
text-transform/text-transform-upperlower-027.html
459460
text-transform/text-transform-upperlower-029.html
460461
text-transform/text-transform-upperlower-031.html
462+
text-transform/text-transform-upperlower-044.html
461463
text-transform/text-transform-upperlower-101.html
462464
text-transform/text-transform-upperlower-103.html
463465
</wpt>
@@ -647,6 +649,8 @@ Text Processing</h3>
647649
inheritance.html
648650
parsing/white-space-valid.html
649651
parsing/white-space-invalid.html
652+
parsing/white-space-computed.html
653+
white-space/append-whitespace-only-node-crash-001.html
650654
</wpt>
651655
<wpt pathprefix="/css/CSS2/css1/">
652656
c562-white-sp-000.xht
@@ -777,10 +781,25 @@ Text Processing</h3>
777781
white-space/break-spaces-007.html
778782
white-space/break-spaces-008.html
779783
white-space/break-spaces-009.html
784+
white-space/break-spaces-010.html
780785
white-space/textarea-break-spaces-001.html
781786
white-space/textarea-break-spaces-002.html
787+
white-space/break-spaces-before-first-char-001.html
788+
white-space/break-spaces-before-first-char-002.html
789+
white-space/break-spaces-before-first-char-003.html
790+
white-space/break-spaces-before-first-char-004.html
791+
white-space/break-spaces-before-first-char-005.html
792+
white-space/break-spaces-before-first-char-006.html
793+
white-space/break-spaces-before-first-char-007.html
794+
white-space/break-spaces-before-first-char-008.html
795+
white-space/break-spaces-before-first-char-009.html
796+
white-space/break-spaces-before-first-char-010.html
797+
white-space/break-spaces-before-first-char-011.html
798+
white-space/break-spaces-before-first-char-012.html
799+
white-space/break-spaces-before-first-char-013.html
782800
white-space/tab-stop-threshold-005.html
783801
white-space/tab-stop-threshold-006.html
802+
word-break/word-break-break-all-017.html
784803
</wpt>
785804

786805
Such preserved spaces take up space and do not hang,
@@ -1173,6 +1192,14 @@ Text Processing</h3>
11731192
white-space/break-spaces-007.html
11741193
white-space/break-spaces-008.html
11751194
white-space/break-spaces-009.html
1195+
white-space/break-spaces-010.html
1196+
white-space/break-spaces-before-first-char-001.html
1197+
white-space/break-spaces-before-first-char-002.html
1198+
white-space/break-spaces-before-first-char-003.html
1199+
white-space/break-spaces-before-first-char-004.html
1200+
white-space/break-spaces-before-first-char-005.html
1201+
white-space/break-spaces-before-first-char-006.html
1202+
white-space/break-spaces-before-first-char-011.html
11761203
white-space/pre-wrap-008.html
11771204
white-space/pre-wrap-015.html
11781205
white-space/pre-wrap-016.html
@@ -1470,6 +1497,7 @@ Text Processing</h3>
14701497
white-space/tab-stop-threshold-006.html
14711498
tab-size/tab-min-rendered-width-1.html
14721499
tab-size/tab-size-integer-003.html
1500+
text-indent/text-indent-tab-positions-001.html
14731501
</wpt>
14741502
<wpt pathprefix="/css/CSS2/text/">
14751503
white-space-processing-042.xht
@@ -1606,6 +1634,7 @@ Text Processing</h3>
16061634
inheritance.html
16071635
parsing/tab-size-valid.html
16081636
parsing/tab-size-invalid.html
1637+
parsing/tab-size-computed.html
16091638
</wpt>
16101639

16111640
<p>This property determines the tab size used to render preserved tab characters (U+0009).
@@ -1628,6 +1657,7 @@ Text Processing</h3>
16281657
white-space/tab-stop-threshold-004.html
16291658
white-space/tab-stop-threshold-005.html
16301659
white-space/tab-stop-threshold-006.html
1660+
text-indent/text-indent-tab-positions-001.html
16311661
</wpt>
16321662
<wpt pathprefix="/css/CSS2/text/">
16331663
white-space-processing-042.xht
@@ -2012,6 +2042,9 @@ Line Breaking Details</h3>
20122042
i18n/css3-text-line-break-baspglwj-128.html
20132043
i18n/css3-text-line-break-baspglwj-130.html
20142044
i18n/css3-text-line-break-baspglwj-131.html
2045+
word-break/word-break-break-all-018.html
2046+
word-break/word-break-break-all-021.html
2047+
word-break/word-break-break-all-022.html
20152048
</wpt>
20162049

20172050
<li>UAs that allow wrapping at punctuation
@@ -2045,6 +2078,8 @@ Line Breaking Details</h3>
20452078
line-breaking/line-breaking-015.html
20462079
line-breaking/line-breaking-016.html
20472080
line-breaking/line-breaking-017.html
2081+
line-breaking/line-breaking-018.html
2082+
line-breaking/line-breaking-019.html
20482083
</wpt>
20492084

20502085
<li>The line breaking behavior of a replaced element or other atomic inline
@@ -2124,6 +2159,14 @@ Line Breaking Details</h3>
21242159
inheritance.html
21252160
parsing/word-break-invalid.html
21262161
parsing/word-break-valid.html
2162+
parsing/word-break-computed.html
2163+
word-break/word-break-break-all-inline-001.html
2164+
word-break/word-break-break-all-inline-002.html
2165+
word-break/word-break-break-all-inline-003.html
2166+
word-break/word-break-break-all-inline-004.html
2167+
word-break/word-break-break-all-inline-005.html
2168+
word-break/word-break-break-all-inline-006.html
2169+
word-break/word-break-break-all-inline-007.html
21272170
</wpt>
21282171

21292172
<p>This property specifies <a>soft wrap opportunities</a> between letters,
@@ -2147,6 +2190,15 @@ Line Breaking Details</h3>
21472190
word-break/word-break-break-all-012.html
21482191
word-break/word-break-break-all-013.html
21492192
word-break/word-break-break-all-015.html
2193+
word-break/word-break-break-all-016.html
2194+
word-break/word-break-break-all-019.html
2195+
word-break/word-break-break-all-020.html
2196+
word-break/word-break-break-all-023.html
2197+
word-break/word-break-break-all-024.html
2198+
word-break/word-break-break-all-025.html
2199+
word-break/word-break-break-all-026.html
2200+
word-break/word-break-break-all-027.html
2201+
word-break/word-break-break-all-028.html
21502202
white-space/break-spaces-008.html
21512203
</wpt>
21522204

@@ -2229,15 +2281,42 @@ Line Breaking Details</h3>
22292281
word-break/word-break-break-all-013.html
22302282
word-break/word-break-break-all-014.html
22312283
word-break/word-break-break-all-015.html
2284+
word-break/word-break-break-all-016.html
2285+
word-break/word-break-break-all-017.html
2286+
word-break/word-break-break-all-018.html
2287+
word-break/word-break-break-all-019.html
2288+
word-break/word-break-break-all-020.html
2289+
word-break/word-break-break-all-021.html
2290+
word-break/word-break-break-all-022.html
2291+
word-break/word-break-break-all-023.html
2292+
word-break/word-break-break-all-024.html
2293+
word-break/word-break-break-all-025.html
2294+
word-break/word-break-break-all-026.html
2295+
word-break/word-break-break-all-027.html
2296+
word-break/word-break-break-all-028.html
2297+
word-break/word-break-break-all-inline-001.html
2298+
word-break/word-break-break-all-inline-002.html
2299+
word-break/word-break-break-all-inline-003.html
2300+
word-break/word-break-break-all-inline-004.html
2301+
word-break/word-break-break-all-inline-005.html
2302+
word-break/word-break-break-all-inline-006.html
2303+
word-break/word-break-break-all-inline-007.html
22322304
white-space/break-spaces-006.html
22332305
white-space/break-spaces-008.html
2306+
white-space/break-spaces-before-first-char-004.html
2307+
white-space/break-spaces-before-first-char-005.html
2308+
white-space/break-spaces-before-first-char-006.html
22342309
</wpt>
22352310

22362311
Note: This value does not affect
22372312
whether there are <a>soft wrap opportunities</a>
22382313
around punctuation characters.
22392314
To allow breaks anywhere, see ''line-break: anywhere''.
22402315

2316+
<wpt>
2317+
white-space/break-spaces-before-first-char-011.html
2318+
</wpt>
2319+
22412320
<dt><dfn>keep-all</dfn></dt>
22422321
<dd>Breaking is forbidden within “words”:
22432322
implicit <a>soft wrap opportunities</a> between <a>typographic letter units</a>
@@ -2375,9 +2454,11 @@ Line Breaking Details</h3>
23752454
white-space/pre-wrap-008.html
23762455
white-space/pre-wrap-016.html
23772456
word-break/word-break-break-word-overflow-wrap-interactions.html
2457+
word-break/word-break-break-word-crash-001.html
23782458
white-space/break-spaces-003.html
23792459
white-space/break-spaces-004.html
23802460
white-space/break-spaces-008.html
2461+
white-space/break-spaces-before-first-char-010.html
23812462
</wpt>
23822463

23832464
<h3 id="line-break-property">
@@ -2398,6 +2479,7 @@ Line Breaking Details</h3>
23982479
inheritance.html
23992480
parsing/line-break-valid.html
24002481
parsing/line-break-invalid.html
2482+
parsing/line-break-computed.html
24012483
</wpt>
24022484

24032485
<p>This property specifies the strictness of line-breaking rules applied
@@ -2431,7 +2513,23 @@ Line Breaking Details</h3>
24312513
<wpt>
24322514
line-break/line-break-anywhere-001.html
24332515
line-break/line-break-anywhere-002.html
2516+
line-break/line-break-anywhere-003.html
2517+
line-break/line-break-anywhere-004.html
2518+
line-break/line-break-anywhere-005.html
2519+
line-break/line-break-anywhere-006.html
2520+
line-break/line-break-anywhere-007.html
2521+
line-break/line-break-anywhere-008.html
2522+
line-break/line-break-anywhere-009.html
2523+
line-break/line-break-anywhere-010.html
2524+
line-break/line-break-anywhere-011.html
2525+
line-break/line-break-anywhere-012.html
2526+
line-break/line-break-anywhere-013.html
2527+
line-break/line-break-anywhere-014.html
2528+
line-break/line-break-anywhere-015.html
2529+
line-break/line-break-anywhere-016.html
24342530
line-break/line-break-shaping-001.html
2531+
white-space/break-spaces-before-first-char-007.html
2532+
white-space/break-spaces-before-first-char-011.html
24352533
</wpt>
24362534

24372535
Note: This value triggers the line breaking rules typically seen in terminals.</dd>
@@ -2449,6 +2547,13 @@ Line Breaking Details</h3>
24492547
it allows breaking before the first space of a sequence,
24502548
which ''break-spaces'' on its own does not.
24512549
</div>
2550+
<wpt>
2551+
line-break/line-break-anywhere-005.html
2552+
white-space/break-spaces-before-first-char-007.html
2553+
white-space/break-spaces-before-first-char-008.html
2554+
white-space/break-spaces-before-first-char-009.html
2555+
white-space/break-spaces-before-first-char-010.html
2556+
</wpt>
24522557
</dl>
24532558

24542559
<p class="feedback issue">
@@ -2683,6 +2788,7 @@ Line Breaking Details</h3>
26832788
inheritance.html
26842789
parsing/hyphens-valid.html
26852790
parsing/hyphens-invalid.html
2791+
parsing/hyphens-computed.html
26862792
</wpt>
26872793

26882794
<p>This property controls whether <a>hyphenation</a> is allowed to create more
@@ -2814,8 +2920,10 @@ Line Breaking Details</h3>
28142920
inheritance.html
28152921
parsing/overflow-wrap-invalid.html
28162922
parsing/overflow-wrap-valid.html
2923+
parsing/overflow-wrap-computed.html
28172924
parsing/word-wrap-invalid.html
28182925
parsing/word-wrap-valid.html
2926+
parsing/word-wrap-computed.html
28192927
overflow-wrap/overflow-wrap-anywhere-span-001.html
28202928
overflow-wrap/overflow-wrap-anywhere-span-002.html
28212929
overflow-wrap/overflow-wrap-break-word-span-001.html
@@ -2863,6 +2971,8 @@ Line Breaking Details</h3>
28632971
overflow-wrap/overflow-wrap-anywhere-fit-content-001.html
28642972
overflow-wrap/overflow-wrap-cluster-002.html
28652973
overflow-wrap/overflow-wrap-shaping-002.html
2974+
white-space/break-spaces-before-first-char-009.html
2975+
white-space/break-spaces-before-first-char-013.html
28662976
</wpt>
28672977

28682978
<dt><dfn>break-word</dfn></dt>
@@ -2880,6 +2990,9 @@ Line Breaking Details</h3>
28802990
overflow-wrap/overflow-wrap-break-word-fit-content-001.html
28812991
overflow-wrap/overflow-wrap-cluster-001.html
28822992
overflow-wrap/overflow-wrap-shaping-001.html
2993+
overflow-wrap/overflow-wrap-break-word-long-crash.html
2994+
white-space/break-spaces-before-first-char-008.html
2995+
white-space/break-spaces-before-first-char-012.html
28832996
</wpt>
28842997
</dl>
28852998

@@ -3153,6 +3266,7 @@ Shaping Across Intra-word Breaks</h3>
31533266
inheritance.html
31543267
parsing/text-align-last-valid.html
31553268
parsing/text-align-last-invalid.html
3269+
parsing/text-align-last-computed.html
31563270
<!-- manual test
31573271
text-align/text-align-last-013.html
31583272
text-align/text-align-last-014.html
@@ -3210,6 +3324,7 @@ Shaping Across Intra-word Breaks</h3>
32103324
inheritance.html
32113325
parsing/text-justify-valid.html
32123326
parsing/text-justify-invalid.html
3327+
parsing/text-justify-computed.html
32133328
</wpt>
32143329

32153330
<p>This property selects the justification method used when a line's
@@ -3529,6 +3644,7 @@ Word Spacing: the 'word-spacing' property</h3>
35293644
inheritance.html
35303645
parsing/word-spacing-valid.html
35313646
parsing/word-spacing-invalid.html
3647+
parsing/word-spacing-computed.html
35323648
</wpt>
35333649

35343650
<p>This property specifies additional spacing
@@ -3587,6 +3703,7 @@ Word Spacing: the 'word-spacing' property</h3>
35873703
inheritance.html
35883704
parsing/letter-spacing-valid.html
35893705
parsing/letter-spacing-invalid.html
3706+
parsing/letter-spacing-computed.html
35903707
</wpt>
35913708

35923709
<p>This property specifies additional spacing (commonly called <dfn export>tracking</dfn>)
@@ -3963,6 +4080,7 @@ Cursive Scripts</h4>
39634080
inheritance.html
39644081
parsing/text-indent-valid.html
39654082
parsing/text-indent-invalid.html
4083+
parsing/text-indent-computed.html
39664084
</wpt>
39674085

39684086
<p>This property specifies the indentation applied to lines of inline
@@ -3981,6 +4099,10 @@ Cursive Scripts</h4>
39814099
<dl dfn-for=text-indent dfn-type=value>
39824100
<dt><dfn>&lt;length&gt;</dfn>
39834101
<dd>Gives the amount of the indent as an absolute length.</dd>
4102+
<wpt>
4103+
text-indent/text-indent-long-line-crash.html
4104+
</wpt>
4105+
39844106
<dt><dfn>&lt;percentage&gt;</dfn>
39854107
<dd>Gives the amount of the indent as a percentage of
39864108
the block container’s own <a>logical width</a>

css-text-3/test-coverage.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,6 @@ <h2 id="white-space-and-wrapping-the-white-space-property">3 <a href="https://dr
142142
<li>coverage of "break-spaces" not as exhaustive as other values. Basic behavior is covered, and difference from "pre-wrap" is covered as well, so this is adequate, but it doesn't have the long list of basic tests that other values got from the CSS2 test suite.
143143
</ul>
144144

145-
<p>Additional WIP:
146-
147-
<ul>
148-
<li>tests for break-spaces: <a href="https://github.com/web-platform-tests/wpt/pull/14381">https://github.com/web-platform-tests/wpt/pull/14381</a>
149-
</ul>
150-
151145
<h2 id="white-space-processing-details">4 <a href="https://drafts.csswg.org/css-text-3/#white-space-processing">White Space Processing Details</a></h2>
152146

153147
<p>Partial coverage.
@@ -231,6 +225,7 @@ <h3 id="line-breaking-details">5.1 <a href="https://drafts.csswg.org/css-text-3/
231225
<ul>
232226
<li>“Regardless of the white-space value […] the BK, NL […] classes […] must be honored”
233227
<li>tests of WJ, ZW, and GL and ZWJ for values of white-space other than normal
228+
(GL is tested for pre-wrap and break-spaces)
234229
<li>For soft wrap opportunities before the first or after the last character of a box, the break occurs immediately before/after the box (at its margin edge) rather than breaking the box between its content edge and the content.
235230
</ul>
236231

@@ -247,7 +242,7 @@ <h3 id="breaking-rules-for-letters-the-word-break-property">5.2 <a href="https:/
247242
<p>Missing tests:
248243

249244
<ul>
250-
<li>applies to inlines
245+
<li>keep-all and break-word apply to inlines
251246
<li>No test of Animation type.
252247
<li>affects intrinsic sizing
253248
<li>and/or non-letter typographic character units belonging to the NU, AL, AI, or ID Unicode line breaking classes [UAX14]

0 commit comments

Comments
 (0)