-
Notifications
You must be signed in to change notification settings - Fork 708
/
Copy pathtest-coverage.html
1059 lines (682 loc) · 39.6 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>2021-04-23</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" open="" lang="en">
<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><p>Missing tests:</p>
<ul>
<li data-md="">
<p>Throughout the spec, tests for <a href="https://github.com/w3c/csswg-drafts/issues/5303">distinguishing between applying to inlines and applying to text</a> should be added.</p>
</li></ul>
<p></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" open="" lang="en">
<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" open="" lang="en">
<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" open="" lang="en">
<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" open="" lang="en">
<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" open="" lang="en">
<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>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>
This section and its subsections have good test coverage overall,
and very good i18n coverage in particular.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>no test of Amimation type.</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>
<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" data-link-type="propdesc" 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>
<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>
<h4 class="heading settled" data-level="2.1.2" id="text-transform-order"><span class="secno">2.1.2. </span><span class="content"> Order of Operations</span><a class="self-link" href="#text-transform-order"></a></h4>
<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" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space">white-space</a> property</span><span id="white-space-collapsing"></span><span id="text-wrap"></span><a class="self-link" href="#white-space-property"></a></h2>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<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.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>No test of Namimation type</p>
</li><li data-md="">
<p>Intrinsic (min and max) sizing tests for normal and nowrap.</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" open="" lang="en">
<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-rules"><span class="secno">4.1. </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" open="" lang="en">
<summary>Tests</summary>
<p>This section has good test coverage,
all parts are well exercised.
Most tests to be found in subsections.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="4.1.1" id="white-space-phase-1"><span class="secno">4.1.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" open="" lang="en">
<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.1.2" id="white-space-phase-2"><span class="secno">4.1.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" open="" lang="en">
<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.1.3" id="line-break-transform"><span class="secno">4.1.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" open="" lang="en">
<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.2" id="tab-size-property"><span class="secno">4.2. </span><span class="content"> Tab Character Size: the <a class="property" data-link-type="propdesc" 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" open="" lang="en">
<summary>Tests</summary>
<p>This section has good test coverage.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="heading settled" data-level="5" id="line-breaking"><span class="secno">5. </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" open="" lang="en">
<summary>Tests</summary>
<p>
Tests mostly not needed for this section:
these are definitions,
they get tested through their application,
not by themselves.
</p><p>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>Basic line breaking tests for any language mentioned (Thai, Lao, Khmer, Javanese, Balinese, Yi…)</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="5.1" id="line-break-details"><span class="secno">5.1. </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" open="" lang="en">
<summary>Tests</summary>
<p>
This section has partial test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>“Regardless of the white-space value […] the BK, NL […] classes […] must be honored”</p>
</li><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>Test for <a href="https://github.com/w3c/csswg-drafts/issues/4284">https://github.com/w3c/csswg-drafts/issues/4284</a></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>
<h3 class="heading settled caniuse-paneled" data-level="5.2" id="word-break-property"><span class="secno">5.2. </span><span class="content"> Breaking Rules for Letters: the <a class="property" data-link-type="propdesc" 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" open="" lang="en">
<summary>Tests</summary>
<p>
This section has partial test coverage.
</p><p>Missing tests:</p>
<ul>
<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</p>
</li><li data-md="">
<p>Tests for <a href="https://github.com/w3c/csswg-drafts/issues/4765">https://github.com/w3c/csswg-drafts/issues/4765</a></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>
<h3 class="heading settled" data-level="5.3" id="line-break-property"><span class="secno">5.3. </span><span class="content"> Line Breaking Strictness: the <a class="property" data-link-type="propdesc" 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" open="" lang="en">
<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>No test of Animation type.</p>
</li><li data-md="">
<p>affects intrinsic sizing</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 caniuse-paneled" data-level="5.4" id="hyphenation"><span class="secno">5.4. </span><span class="content"> Hyphenation: the <a class="property" data-link-type="propdesc" href="#propdef-hyphens" id="ref-for-propdef-hyphens①">hyphens</a> property</span><span id="hyphens-property"></span><a class="self-link" href="#hyphenation"></a></h3>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>
This section has partial test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>No test of Animation type.</p>
</li><li data-md="">
<p>Affects intrinsic sizing</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>
<h3 class="heading settled caniuse-paneled" data-level="5.5" id="overflow-wrap-property"><span class="secno">5.5. </span><span class="content"> Overflow Wrapping: the <a class="property" data-link-type="propdesc" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap⑥">overflow-wrap</a>/<a class="property" data-link-type="propdesc" 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" open="" lang="en">
<summary>Tests</summary>
<p>
This section has fairly good test 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="5.6" id="word-break-shaping"><span class="secno">5.6. </span><span class="content"> Shaping Across Intra-word Breaks</span><a class="self-link" href="#word-break-shaping"></a></h3>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>This section has good test coverage.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="heading settled" data-level="6" id="justification"><span class="secno">6. </span><span class="content"> Alignment and Justification</span><a class="self-link" href="#justification"></a></h2>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>Tests only needed in subsections.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="6.1" id="text-align-property"><span class="secno">6.1. </span><span class="content"> Text Alignment: the <a class="property" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align">text-align</a> shorthand</span><span id="text-align"></span><a class="self-link" href="#text-align-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>
This section has partial test coverage.
</p><p>Missing tests:</p>
<ul>
<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="6.2" id="text-align-all-property"><span class="secno">6.2. </span><span class="content"> Default Text Alignment: the <a class="property" data-link-type="propdesc" 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" open="" lang="en">
<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.3" id="text-align-last-property"><span class="secno">6.3. </span><span class="content"> Last Line Alignment: the <a class="property" data-link-type="propdesc" 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" open="" lang="en">
<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="text-justify-property"><span class="secno">6.4. </span><span class="content"> Justification Method: the <a class="property" data-link-type="propdesc" 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" open="" lang="en">
<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>No test of Animation Tyoe</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="6.4.1" id="expanding-text"><span class="secno">6.4.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" open="" lang="en">
<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="">
<p>… and maybe more</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="6.4.2" id="justify-symbols"><span class="secno">6.4.2. </span><span class="content"> Handling Symbols and Punctuation</span><a class="self-link" href="#justify-symbols"></a></h4>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>This section lacks tests. Not sure what is testable though.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="6.4.3" id="justify-limits"><span class="secno">6.4.3. </span><span class="content"> Unexpandable Text</span><a class="self-link" href="#justify-limits"></a></h4>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>
This section has basic test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>Values of text-align-last other than justify</p>
</li><li data-md="">
<p>A broader range of non-stretchable content that just an empty span with padding</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="6.4.4" id="justify-cursive"><span class="secno">6.4.4. </span><span class="content"> Cursive Scripts</span><a class="self-link" href="#justify-cursive"></a></h4>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>This section lacks automated tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="6.4.5" id="justify-algos"><span class="secno">6.4.5. </span><span class="content"> Minimum Requirements for <a class="css" data-link-type="maybe" href="#valdef-text-justify-auto" id="ref-for-valdef-text-justify-auto">auto</a> Justification</span><a class="self-link" href="#justify-algos"></a></h4>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>This section lacks tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="heading settled" data-level="7" id="spacing"><span class="secno">7. </span><span class="content"> Spacing</span><a class="self-link" href="#spacing"></a></h2>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<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="word-spacing-property"><span class="secno">7.1. </span><span class="content"> Word Spacing: the <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing⑤">word-spacing</a> property</span><span id="word-spacing"></span><a class="self-link" href="#word-spacing-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>
This section has limited test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>inherit lengths as absolute</p>
</li><li data-md="">
<p>values may be negative</p>
</li><li data-md="">
<p>computed / resolved value of normal</p>
</li><li data-md="">
<p>should be applied half on each side of the character unless otherwise dictated by typographic tradition.</p>
</li><li data-md="">
<p>doesn’t do anything between words defined by text analysis like in Thai, only on actual word separators</p>
</li><li data-md="">
<p>works on the Ethiopic word space (U+1361), the Aegean word separators (U+10100,U+10101), the Ugaritic word divider (U+1039F), and the Phoenician Word Separator (U+1091F).</p>
</li><li data-md="">
<p>word-spacing and bidi </p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled caniuse-paneled" data-level="7.2" id="letter-spacing-property"><span class="secno">7.2. </span><span class="content"> Tracking: the <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing⑤">letter-spacing</a> property</span><span id="letter-spacing"></span><a class="self-link" href="#letter-spacing-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>
This section has partial test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>Due to <a href="https://github.com/w3c/csswg-drafts/issues/1518">issue 1518</a>, some/many tests in this section should be converted from MUST to SHOULD.</p>
</li><li data-md="">
<p>inherit lengths as absolute</p>
</li><li data-md="">
<p>For legacy reasons, a computed letter-spacing of zero yields a resolved value (getComputedStyle() return value) of normal.</p>
</li><li data-md="">
<p>When the effective spacing between two characters is not zero (due to either justification or a non-zero value of letter-spacing), user agents should not apply optional ligatures</p>
</li><li data-md="">
<p>However, ligatures and other font features specified via the low-level font-feature-settings property take precedence over this rule</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled" data-level="7.2.1" id="cursive-tracking"><span class="secno">7.2.1. </span><span class="content"> Cursive Scripts</span><a class="self-link" href="#cursive-tracking"></a></h4>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>This section lacks tests. Not sure automated tests are possible.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="7.3" id="boundary-shaping"><span class="secno">7.3. </span><span class="content"> Shaping Across Element Boundaries</span><a class="self-link" href="#boundary-shaping"></a></h3>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>This section has good test coverage.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="heading settled" data-level="8" id="edge-effects"><span class="secno">8. </span><span class="content"> Edge Effects</span><a class="self-link" href="#edge-effects"></a></h2>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>Tests only needed in subsections.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled caniuse-paneled" data-level="8.1" id="text-indent-property"><span class="secno">8.1. </span><span class="content"> First Line Indentation: the <a class="property" data-link-type="propdesc" href="#propdef-text-indent" id="ref-for-propdef-text-indent①">text-indent</a> property</span><span id="text-indent"></span><a class="self-link" href="#text-indent-property"></a></h3>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>
This section has partial test coverage.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>hanging keyword</p>
</li><li data-md="">
<p>each-line keyword</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="8.2" id="hanging"><span class="secno">8.2. </span><span class="content"> Hanging Glyphs</span><a class="self-link" href="#hanging"></a></h3>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>Test coverage TBD.
Partly tested through <a href="#hanging-punctuation-property">§ 8.2.1 Hanging Punctuation: the hanging-punctuation property</a> partly through <a href="#white-space-phase-2">§ 4.1.2 Phase II: Trimming and Positioning</a>.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h4 class="heading settled caniuse-paneled" data-level="8.2.1" id="hanging-punctuation-property"><span class="secno">8.2.1. </span><span class="content"> Hanging Punctuation: the <a class="property" data-link-type="propdesc" href="#propdef-hanging-punctuation" id="ref-for-propdef-hanging-punctuation②">hanging-punctuation</a> property</span><span id="hanging-punctuation"></span><a class="self-link" href="#hanging-punctuation-property"></a></h4>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>
This section has spotty test coverage.
All values have tests.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>No test of Animation type.</p>
</li><li data-md="">
<p>Affects intrinsic sizing</p>
</li><li data-md="">
<p>each value has a test, and checks with some characters, but there isn’t a test for every relevant unicode character</p>
</li><li data-md="">
<p>it is not considered when measuring the line’s contents for […] alignment</p>
</li><li data-md="">
<p>it is not considered when measuring the line’s contents for […] justification</p>
</li><li data-md="">
<p>Non-zero inline-axis borders or padding between a hangable mark and the edge of the line prevent the mark from hanging</p>
</li><li data-md="">
<p>At most one punctuation character may hang at each edge of the line.</p>
</li><li data-md="">
<p>should be treated as ink overflow</p>
</li></ul>
<p></p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h3 class="heading settled" data-level="8.3" id="bidi-linebox"><span class="secno">8.3. </span><span class="content"> Bidirectionality and Line Boxes</span><a class="self-link" href="#bidi-linebox"></a></h3>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>This section lacks tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="no-num heading settled" id="order"><span class="content"> Appendix A:
Text Processing Order of Operations</span><a class="self-link" href="#order"></a></h2>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>Tests probably not needed for this section, as it is excercised through the rest of the specificaiton.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="no-num heading settled" id="plaintext"><span class="content"> Appendix B:
Conversion to Plaintext</span><a class="self-link" href="#plaintext"></a></h2>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>This section lacks tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="no-num heading settled" id="default-stylesheet"><span class="content"> Appendix C:
Default UA Stylesheet</span><a class="self-link" href="#default-stylesheet"></a></h2>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>Tests not needed for this section.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="no-num heading settled" id="script-groups"><span class="content"> Appendix D:
Scripts and Spacing</span><a class="self-link" href="#script-groups"></a></h2>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<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>
<h2 class="no-num heading settled" id="character-properties"><span class="content"> Appendix E:
Characters and Properties</span><a class="self-link" href="#character-properties"></a></h2>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>This section lacks tests.</p>
<ul class="wpt-tests-list"></ul>
<hr>
</details>
<h2 class="no-num heading settled" id="script-tagging"><span class="content"> Appendix F:
Identifying the Content Writing System</span><a class="self-link" href="#script-tagging"></a></h2>
<details class="wpt-tests-block" dir="ltr" open="" lang="en">
<summary>Tests</summary>
<p>
This section has partial test coverage.
Each of the various properties
that take the content language into account is tested,
except tested on text-justification:auto,
but probably not testable anyway.
</p><p>Missing tests:</p>
<ul>
<li data-md="">
<p>if the writing system to specified to be one of the Hant, Hans, Hani, Hanb, or Bopo ISO15924 codes, then the writing system is Chinese.</p>