-
Notifications
You must be signed in to change notification settings - Fork 708
/
Copy pathtest-coverage.html
1634 lines (1071 loc) · 62.1 KB
/
test-coverage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<meta charset=utf-8>
<title>CSS Text 3 test coverage report</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="../default.css" rel="stylesheet" type="text/css">
<style>/* style-wpt */ :root { --wpt-border: hsl(0, 0%, 60%); --wpt-bg: hsl(0, 0%, 95%); --wpt-text: var(--text); --wptheading-text: hsl(0, 0%, 30%); } @media (prefers-color-scheme: dark) { :root { --wpt-border: hsl(0, 0%, 30%); --wpt-bg: var(--borderedblock-bg); --wpt-text: var(--text); --wptheading-text: hsl(0, 0%, 60%); } } .wpt-tests-block { list-style: none; border-left: .5em solid var(--wpt-border); background: var(--wpt-bg); color: var(--wpt-text); margin: 1em auto; padding: .5em; } .wpt-tests-block summary { color: var(--wptheading-text); font-weight: normal; text-transform: uppercase; } .wpt-tests-block summary::marker{ color: var(--wpt-border); } .wpt-tests-block summary:hover::marker{ color: var(--wpt-text); } /* The only content of a wpt test block in its closed state is the <summary>, which contains the word TESTS, and that is absolutely positioned. In that closed state, wpt test blocks are styled to have a top margin whose height is exactly equal to the height of the absolutely positioned <summary>, and no other background/padding/margin/border. The wpt test block elements will therefore allow the maring of the previous/next block elements to collapse through them; if this combined margin would be larger than its own top margin, it stays as is, and therefore the pre-existing vertical rhythm of the document is undisturbed. If that combined margin would be smaller, it is grown to that size. This means that the wpt test block ensures that there's always enough vertical space to insert the summary, without adding more than is needed. */ .wpt-tests-block:not([open]){ padding: 0; border: none; background: none; font-size: 0.75em; line-height: 1; position: relative; margin: 1em 0 0; } .wpt-tests-block:not([open]) summary { position: absolute; right: 0; bottom: 0; } /* It is possible that both the last child of a block element and the block element itself would be annotated with a <wpt> block each. If the block element has a padding or a border, that's fine, but otherwise the bottom margin of the block and of its last child would collapse and both <wpt> elements would overlap, being both placed there. To avoid that, add 1px of padding to the <wpt> element annotating the last child to prevent the bottom margin of the block and of its last child from collapsing (and as much negative margin, as wel only want to prevent margin collapsing, but are not trying to actually take more space). */ .wpt-tests-block:not([open]):last-child { padding-bottom: 1px; margin-bottom: -1px; } /* Exception to the previous rule: don't do that in non-last list items, because it's not necessary, and would therefore consume more space than strictly needed. Lists must have list items as children, not <wpt> elements, so a <wpt> element cannot be a sibling of a list item, and the collision that the previous rule avoids cannot happen. */ li:not(:last-child) > .wpt-tests-block:not([open]):last-child, dd:not(:last-child) > .wpt-tests-block:not([open]):last-child { padding-bottom: 0; margin-bottom: 0; } .wpt-tests-block:not([open]):not(:hover){ opacity: 0.5; } .wpt-tests-list { list-style: none; display: grid; margin: 0; padding: 0; grid-template-columns: 1fr auto auto; grid-column-gap: .5em; } .wpt-tests-block hr:last-child { display: none; } .wpt-test { display: contents; } .wpt-test > a { text-decoration: underline; border: none; } .wpt-test > .wpt-name { grid-column: 1; } .wpt-test > .wpt-live { grid-column: 2; } .wpt-test > .wpt-source { grid-column: 3; } </style>
<div class=head>
<h1 id=title>CSS Text 3 test coverage report</h1>
<h2 class=subtitle>2023-10-20</h2>
<dl>
<dt class="editor">Prepared by:
<dd class="editor p-author h-card vcard" data-editor-id="43241"><a class="p-name fn u-url url" href="https://florian.rivoal.net">Florian Rivoal</a> (<span class="p-org org">Invited Expert</span>)
</dl>
<hr title="Separator for header">
</div>
<!--
To generate this document:
* Delete everything after this comment
* Load the spec
* run this in the console:
document.querySelectorAll(".mdn-anno").forEach(function(e){e.remove();});
document.querySelectorAll("main > :not(h1, h2, h3, h4, h5, h6, h1+.wpt-tests-block, h2+.wpt-tests-block, h3+.wpt-tests-block, h4+.wpt-tests-block, h5+.wpt-tests-block, h6+.wpt-tests-block)").forEach(function(e){e.remove();});
document.querySelectorAll("body > :not(main)").forEach(function(e){e.remove();});
document.querySelectorAll(".wpt-tests-block").forEach(function(e){e.setAttribute("open","");});
* Copy the remaining main element, and paste it below
-->
<main>
<h2 class="heading settled" data-level="1" id="intro"><span class="secno">1. </span><span class="content"> Introduction</span><a class="self-link" href="#intro"></a></h2>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>The test coverage information in this specification
covers <a href="https://github.com/web-platform-tests/wpt/tree/master/css/css-text/">wpt/css/css-text/</a> and subdirectories,
as well as those tests in <a href="https://github.com/web-platform-tests/wpt/tree/master/css/CSS2/">wpt/css/CSS2/</a> and subdirectories
that relate to this specification.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="1.1" id="placement"><span class="secno">1.1. </span><span class="content"> Module Interactions</span><a class="self-link" href="#placement"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>Tests not needed for this section.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="1.2" id="values"><span class="secno">1.2. </span><span class="content"> Value Definitions</span><a class="self-link" href="#values"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>Tests not really needed for this section;
could possibly test that css-wide keywords apply to every property.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="1.3" id="languages"><span class="secno">1.3. </span><span class="content"> Languages and Typesetting</span><a class="self-link" href="#languages"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>Tests not needed for this section:
these are definitions,
they get tested through their application,
not by themselves.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="1.4" id="characters"><span class="secno">1.4. </span><span class="content"> Characters and Letters</span><a class="self-link" href="#characters"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
For the most part, tests not really needed for this section:
these are definitions,
they get tested through their applications,
by themselves.
The few testable assertions that are made have coverage.
</p><p>Possible additions:</p>
<ul>
<li data-md="">
<p>turning the content of example 1 into tests (first, check that it’s not already done).</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="1.5" id="text-encoding"><span class="secno">1.5. </span><span class="content"> Text Processing</span><a class="self-link" href="#text-encoding"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section has adequate coverage.
Exhaustive coverage unrealistic,
since this section is effectively a dependency on all of Unicode.
Some tests nonetheless provided for key functionality
(such as the effect of certain control characters on Arabic shaping).</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="heading settled" data-level="2" id="transforming"><span class="secno">2. </span><span class="content"> Transforming Text</span><a class="self-link" href="#transforming"></a></h2>
<h3 class="heading settled" data-level="2.1" id="text-transform-property"><span class="secno">2.1. </span><span class="content"> Case Transforms: the <a class="property css" data-link-type="property" href="#propdef-text-transform" id="ref-for-propdef-text-transform">text-transform</a> property</span><span id="text-transform"></span><span id="caps-prop"></span><a class="self-link" href="#text-transform-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has good test coverage overall,
and very good i18n coverage in particular.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>no test of Animation type.</p>
</li><li data-md="">
<p>Applies to text</p>
</li></ul>
<p>Possible additions:</p>
<ul>
<li data-md="">
<p>An automated test for plain text copy&paste not applying transforms. Not clear such an <em>automated</em> test is possible, but it would be nice to have one if it were.</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="2.1.1" id="text-transform-mapping"><span class="secno">2.1.1. </span><span class="content"> Mapping Rules</span><a class="self-link" href="#text-transform-mapping"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section has adequate test coverage.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="2.2" id="word-space-transform"><span class="secno">2.2. </span><span class="content"> Expanding Between Words: the <a class="property css" data-link-type="property" href="#propdef-word-space-transform" id="ref-for-propdef-word-space-transform">word-space-transform</a> property</span><span id="word-boundary-expansion"></span><a class="self-link" href="#word-space-transform"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has generally good coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>no test of Animation type</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="2.3" id="text-transform-order"><span class="secno">2.3. </span><span class="content"> Order of Operations</span><a class="self-link" href="#text-transform-order"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section has adequate test coverage.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="heading settled" data-level="3" id="white-space-property"><span class="secno">3. </span><span class="content"> White Space and Wrapping: the <a class="property css" data-link-type="property" href="#propdef-white-space" id="ref-for-propdef-white-space">white-space</a> property</span><a class="self-link" href="#white-space-property"></a></h2>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has good overall test coverage,
particularly through tests for <a href="#white-space-processing">§ 4 White Space Processing & Control Characters</a> and subsections,
and longhand properties.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>No test of Animation type</p>
</li><li data-md="">
<p>Intrinsic (min and max) sizing tests for normal and nowrap.</p>
</li><li data-md="">
<p>shorthand to longhand expansion involving white-space-trim values and preserve-spaces</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="heading settled" data-level="4" id="white-space-processing"><span class="secno">4. </span><span class="content"> White Space Processing & Control Characters</span><a class="self-link" href="#white-space-processing"></a></h2>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has reasonably good test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>“As required by Unicode, unsupported Default_ignorable characters must be ignored for text rendering”</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="4.1" id="white-space-collapsing"><span class="secno">4.1. </span><span class="content"> White Space Collapsing: the <a class="property css" data-link-type="property" href="#propdef-white-space-collapse" id="ref-for-propdef-white-space-collapse④">white-space-collapse</a> property</span><a class="self-link" href="#white-space-collapsing"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has limited direct coverage,
but extensive coverage through the <a class="property css" data-link-type="property" href="#propdef-white-space" id="ref-for-propdef-white-space④">white-space</a> shorthand.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>any direct tests as a longhand (other than syntax and inheritance)</p>
</li><li data-md="">
<p>tests of the preserve-spaces value (direct or indirect)</p>
</li><li data-md="">
<p>tests of the discard value (direct or indirect)</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="4.2" id="white-space-trim"><span class="secno">4.2. </span><span class="content"> White Space Trimming: the <a class="property css" data-link-type="property" href="#propdef-white-space-trim" id="ref-for-propdef-white-space-trim④">white-space-trim</a> property</span><span id="text-space-trim"></span><a class="self-link" href="#white-space-trim"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section mostly lacks tests</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="4.3" id="white-space-rules"><span class="secno">4.3. </span><span class="content"> The White Space Processing Rules</span><a class="self-link" href="#white-space-rules"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section has good test coverage.
Most tests to be found in subsections.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="4.3.1" id="white-space-phase-1"><span class="secno">4.3.1. </span><span class="content"> Phase I: Collapsing and Transformation</span><a class="self-link" href="#white-space-phase-1"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has good test coverage,
most parts are well exercised.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>If white-space-collapse is set to preserve-spaces, each tab and segment break is converted to a space.</p>
</li></ul>
<p></p>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="4.3.2" id="white-space-phase-2"><span class="secno">4.3.2. </span><span class="content"> Phase II: Trimming and Positioning</span><a class="self-link" href="#white-space-phase-2"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section has good test coverage,
all parts are well exercised.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="4.3.3" id="line-break-transform"><span class="secno">4.3.3. </span><span class="content"> Segment Break Transformation Rules</span><a class="self-link" href="#line-break-transform"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section has reasonable test coverage,
though some assertions are only tested indirectly through
test for other features that rely on this,
rather than by dedicated tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled caniuse-paneled" data-level="4.4" id="tab-size-property"><span class="secno">4.4. </span><span class="content"> Tab Character Size: the <a class="property css" data-link-type="property" href="#propdef-tab-size" id="ref-for-propdef-tab-size①">tab-size</a> property</span><span id="tab-size"></span><a class="self-link" href="#tab-size-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has good test coverage.
</p><p>Missing test:</p>
<ul>
<li data-md="">
<p>Applies to text</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="heading settled" data-level="5" id="text-wrapping"><span class="secno">5. </span><span class="content"> Text Wrapping</span><span id="text-wrap"></span><a class="self-link" href="#text-wrapping"></a></h2>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>Tests mostly not needed for this section:
these are definitions,
they get tested through their application,
not by themselves.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="5.1" id="text-wrap-mode"><span class="secno">5.1. </span><span class="content"> Deciding Whether to Wrap: the <a class="property css" data-link-type="property" href="#propdef-text-wrap-mode" id="ref-for-propdef-text-wrap-mode⑥">text-wrap-mode</a> property</span><a class="self-link" href="#text-wrap-mode"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This property is tested extensively through its shorthands,
but not directly.
</p><p>Missing test:</p>
<ul>
<li data-md="">
<p>preserved segment breaks are forced line breaks (probably tested already, but need to find those tests)</p>
</li><li data-md="">
<p>CR and LF line breaking class are forced line breaks</p>
</li><li data-md="">
<p>Direct tests of this property as a longhand</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="5.2" id="wrap-inside"><span class="secno">5.2. </span><span class="content"> Controlling Breaks Within Boxes: the <a class="property css" data-link-type="property" href="#propdef-wrap-inside" id="ref-for-propdef-wrap-inside①">wrap-inside</a> property</span><a class="self-link" href="#wrap-inside"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section lacks tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="5.2.1" id="example-avoid"><span class="secno">5.2.1. </span><span class="content"> Example of using 'wrap-inside: avoid' in presenting a footer</span><a class="self-link" href="#example-avoid"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section does not need tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="5.3" id="wrap-before"><span class="secno">5.3. </span><span class="content"> Controlling Breaks Between Boxes: the <a class="property css" data-link-type="property" href="#propdef-wrap-before" id="ref-for-propdef-wrap-before①">wrap-before</a>/<a class="property css" data-link-type="property" href="#propdef-wrap-after" id="ref-for-propdef-wrap-after①">wrap-after</a> properties</span><a class="self-link" href="#wrap-before"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section lacks tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="5.4" id="text-wrap-style"><span class="secno">5.4. </span><span class="content"> Selecting How to Wrap: the <a class="property css" data-link-type="property" href="#propdef-text-wrap-style" id="ref-for-propdef-text-wrap-style②">text-wrap-style</a> property</span><a class="self-link" href="#text-wrap-style"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This property has limited coverage.
</p><p>Missing test:</p>
<ul>
<li data-md="">
<p>tests for values other than balance</p>
</li><li data-md="">
<p>Direct tests of this property as a longhand</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="5.5" id="text-wrap-shorthand"><span class="secno">5.5. </span><span class="content"> Joint Wrapping Control: the <a class="property css" data-link-type="property" href="#propdef-text-wrap" id="ref-for-propdef-text-wrap③">text-wrap</a> shorthand property</span><a class="self-link" href="#text-wrap-shorthand"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section has limited coverage.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="5.6" id="line-break-details"><span class="secno">5.6. </span><span class="content"> Line Breaking Details</span><a class="self-link" href="#line-break-details"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has partial test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>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.</p>
</li><li data-md="">
<p>Line breaking classes CM and SG must be honored</p>
</li></ul>
<p>Untestable(?):</p>
<ul>
<li data-md="">
<p>UAs that allow wrapping at punctuation other than spaces should prioritize breakpoints. […]</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="heading settled" data-level="6" id="line-breaking"><span class="secno">6. </span><span class="content"> Line Breaking and Word Boundaries</span><a class="self-link" href="#line-breaking"></a></h2>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section deals in generalities
rather than specific requirements.
Exhaustive coverage is neither practical
nor needed,
as more specific requirements
are made in different sections,
and can be tested there.
</p><p>Nonetheless,
this can be a good section
to host tests for i18n requirements
not covered in detail by the spec.</p>
<p>Possible additions:</p>
<ul>
<li data-md="">
<p>tests for at least one language with line breaking based on orthographic syllable boundaries</p>
</li><li data-md="">
<p>Basic line breaking tests for some languages mentioned: Javanese, Balinese, Yi</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled caniuse-paneled" data-level="6.1" id="word-break-property"><span class="secno">6.1. </span><span class="content"> Breaking Rules for Letters: the <a class="property css" data-link-type="property" href="#propdef-word-break" id="ref-for-propdef-word-break④">word-break</a> property</span><span id="word-break"></span><a class="self-link" href="#word-break-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has partial test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>Applies to text</p>
</li><li data-md="">
<p>No test of Animation type.</p>
</li><li data-md="">
<p>affects intrinsic sizing (tested for word-break:break-word)</p>
</li><li data-md="">
<p>treating non-letter typographic character units belonging to the NU, AL, AI, or ID Unicode line breaking classes</p>
</li><li data-md="">
<p>any typographic character units resolving to the any typographic letter units (and any typographic character units resolving to the <code>NU</code> (“numeric”), <code>AL</code> (“alphabetic”), or <code>SA</code> (“Southeast Asian”) line breaking classes</p>
</li><li data-md="">
<p>effect of word-break:keep-all on NU and AI classes</p>
</li><li data-md="">
<p>Symbols that line-break the same way as letters of a particular category are affected the same way as those letters.</p>
</li><li data-md="">
<p>does not suppress wbr (tested with auto-phrase, but not with keep-all or manual)</p>
</li><li data-md="">
<p>More tests for “does not affect rules governing the soft wrap opportunities created around punctuation</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="6.1.1" id="analytical-word-breaking"><span class="secno">6.1.1. </span><span class="content"> Analytical Word Breaking</span><a class="self-link" href="#analytical-word-breaking"></a></h4>
<h5 class="heading settled" data-level="6.1.1.1" id="lexical-breaking"><span class="secno">6.1.1.1. </span><span class="content"> Lexical Word Breaking</span><a class="self-link" href="#lexical-breaking"></a></h5>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section has basic but adequate coverage</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h5 class="heading settled" data-level="6.1.1.2" id="orthographic-breaking"><span class="secno">6.1.1.2. </span><span class="content"> Orthographic Breaking</span><a class="self-link" href="#orthographic-breaking"></a></h5>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section is untested.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h5 class="heading settled" data-level="6.1.1.3" id="fallback-breaking"><span class="secno">6.1.1.3. </span><span class="content"> Fallback Breaking</span><a class="self-link" href="#fallback-breaking"></a></h5>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section has basic but adequate coverage</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="6.1.2" id="phrase-pref"><span class="secno">6.1.2. </span><span class="content"> Expressing User Preferences for Phrase-based Line Breaking</span><a class="self-link" href="#phrase-pref"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section is untested, but it is not clear how it could be.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="6.2" id="line-break-property"><span class="secno">6.2. </span><span class="content"> Line Breaking Strictness: the <a class="property css" data-link-type="property" href="#propdef-line-break" id="ref-for-propdef-line-break①①">line-break</a> property</span><a class="self-link" href="#line-break-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has extensive test coverage for CJK.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>applies to text</p>
</li><li data-md="">
<p>affects intrinsic sizing</p>
</li><li data-md="">
<p>Line breaking classes CM and SG must be honored even with line-break: anywhere</p>
</li></ul>
<p>Untestable(?):</p>
<ul>
<li data-md="">
<p>behavior of “auto”</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="6.3" id="hyphenation"><span class="secno">6.3. </span><span class="content"> Hyphenation: Morphological Breaking Within Words</span><a class="self-link" href="#hyphenation"></a></h3>
<h4 class="heading settled caniuse-paneled" data-level="6.3.1" id="hyphens-property"><span class="secno">6.3.1. </span><span class="content"> Hyphenation Control: the <a class="property css" data-link-type="property" href="#propdef-hyphens" id="ref-for-propdef-hyphens②">hyphens</a> property</span><a class="self-link" href="#hyphens-property"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has partial test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>Applies to text</p>
</li><li data-md="">
<p>“Automatic hyphenation opportunities within a word must be ignored if the word contains a conditional hyphen (shy or U+00AD), in favor of the conditional hyphen(s)”</p>
</li><li data-md="">
<p>“However, if, even after breaking at such opportunities, a portion of that word is still too long to fit on one line, an automatic hyphenation opportunity may be used.”</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="6.3.2" id="hyphenate-character"><span class="secno">6.3.2. </span><span class="content"> Hyphens: the <a class="property css" data-link-type="property" href="#propdef-hyphenate-character" id="ref-for-propdef-hyphenate-character">hyphenate-character</a> property</span><a class="self-link" href="#hyphenate-character"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has partial coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>applies to text</p>
</li><li data-md="">
<p>inheritance</p>
</li><li data-md="">
<p>the UA must insert the string according to the typographic conventions of the content language</p>
</li></ul>
<p>Likely untestable:</p>
<ul>
<li data-md="">
<p>when the UA truncates the string (which it may not do),
it must not truncate part of a typographic character unit.</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="6.3.3" id="hyphenate-size-limits"><span class="secno">6.3.3. </span><span class="content"> Hyphenation Size Limit: the <a class="property css" data-link-type="property" href="#propdef-hyphenate-limit-zone" id="ref-for-propdef-hyphenate-limit-zone">hyphenate-limit-zone</a> property</span><a class="self-link" href="#hyphenate-size-limits"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section lacks tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="6.3.4" id="hyphenate-char-limits"><span class="secno">6.3.4. </span><span class="content"> Hyphenation Character Limits: the <a class="property css" data-link-type="property" href="#propdef-hyphenate-limit-chars" id="ref-for-propdef-hyphenate-limit-chars">hyphenate-limit-chars</a> property</span><a class="self-link" href="#hyphenate-char-limits"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has limited coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>applies to text</p>
</li><li data-md="">
<p>inherited</p>
</li><li data-md="">
<p>If the third value is missing, it is the same as the second.</p>
</li><li data-md="">
<p>tests of the two-value syntax (but not just syntax tests, check that it has an effect)</p>
</li><li data-md="">
<p>tests of the 3 value syntax with auto in positions other than first (but not just syntax tests, check that it has an effect)</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="6.3.5" id="hyphenate-line-limits"><span class="secno">6.3.5. </span><span class="content"> Hyphenation Line Limits: the <a class="property css" data-link-type="property" href="#propdef-hyphenate-limit-lines" id="ref-for-propdef-hyphenate-limit-lines">hyphenate-limit-lines</a> and <a class="property css" data-link-type="property" href="#propdef-hyphenate-limit-last" id="ref-for-propdef-hyphenate-limit-last">hyphenate-limit-last</a> properties</span><a class="self-link" href="#hyphenate-line-limits"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section lacks tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled caniuse-paneled" data-level="6.4" id="overflow-wrap-property"><span class="secno">6.4. </span><span class="content"> Overflow Wrapping: the <a class="property css" data-link-type="property" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap⑧">overflow-wrap</a>/<a class="property css" data-link-type="property" href="#propdef-word-wrap" id="ref-for-propdef-word-wrap">word-wrap</a> property</span><span id="overflow-wrap"></span><a class="self-link" href="#overflow-wrap-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has fairly good test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>Applies to text</p>
</li><li data-md="">
<p>in the case of auto-phrase, opportunities brought by anywhere only kick in after those from normal</p>
</li><li data-md="">
<p>No test of Animation type</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="heading settled" data-level="7" id="justification"><span class="secno">7. </span><span class="content"> Alignment and Justification</span><a class="self-link" href="#justification"></a></h2>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>Tests only needed in subsections.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="7.1" id="text-align-property"><span class="secno">7.1. </span><span class="content"> Text Alignment: the <a class="property css" data-link-type="property" href="#propdef-text-align" id="ref-for-propdef-text-align">text-align</a> shorthand</span><a class="self-link" href="#text-align-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has partial test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>
tests for the <
<string>> value</string>
</p>
</li><li data-md="">
<p>If (after justification, if any) the inline contents of a line box are too long to fit within it, then the contents are start-aligned: any content that doesn’t fit overflows the line box’s end edge.</p>
</li><li data-md="">
<p>If the UA chooses to adjust the text, then it must ensure that tab stops continue to line up</p>
</li><li data-md="">
<p>“Values other than justify-all or match-parent are assigned to text-align-all and reset text-align-last to auto.”, and being a shorthand in general</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="7.2" id="character-alignment"><span class="secno">7.2. </span><span class="content"> Character-based Alignment in a Table Column</span><a class="self-link" href="#character-alignment"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section lacks tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="7.3" id="text-align-all-property"><span class="secno">7.3. </span><span class="content"> Default Text Alignment: the <a class="property css" data-link-type="property" href="#propdef-text-align-all" id="ref-for-propdef-text-align-all④">text-align-all</a> property</span><span id="text-align-all"></span><a class="self-link" href="#text-align-all-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>This section lacks tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled caniuse-paneled" data-level="7.4" id="text-align-last-property"><span class="secno">7.4. </span><span class="content"> Last Line Alignment: the <a class="property css" data-link-type="property" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last⑥">text-align-last</a> property</span><span id="text-align-last"></span><a class="self-link" href="#text-align-last-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has fairly good test coverage:
all value combinations for text-align / text-align-last are exercised,
except for text-align-last: match-parent (which is exercised, but in a more limited way).
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>tests for Animation type</p>
</li></ul>
<p></p>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled caniuse-paneled" data-level="7.5" id="text-justify-property"><span class="secno">7.5. </span><span class="content"> Justification Method: the <a class="property css" data-link-type="property" href="#propdef-text-justify" id="ref-for-propdef-text-justify②">text-justify</a> property</span><span id="text-justify"></span><a class="self-link" href="#text-justify-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section has light test coverage.
All values (other than auto) are tested,
but the tests are minimal.
Not sure we can do better though.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>Applies to text</p>
</li><li data-md="">
<p>no-compress</p>
</li><li data-md="">
<p>ruby</p>
</li></ul>
<p>Untestable(?):</p>
<ul>
<li data-md="">
<p>behavior of auto</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="7.5.1" id="expanding-text"><span class="secno">7.5.1. </span><span class="content"> Expanding and Compressing Text</span><a class="self-link" href="#expanding-text"></a></h4>
<details class="wpt-tests-block" dir="ltr" lang="en" open="">
<summary>Tests</summary>
<p>
This section lacks tests.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>whether a typographic character unit provides a justification opportunity is controlled by the text-justify value of its parent;</p>
</li><li data-md="">
<p>whether a justification opportunity exists between two consecutive typographic character units is determined by the text-justify value of their nearest common ancestor.</p>
</li><li data-md="">
<p>UAs must not break required ligatures or otherwise disable features required to correctly shape complex scripts</p>
</li><li data-md="">