Skip to content

Commit 76af2f3

Browse files
committed
[css-text-3] Number sections in the test coverage report
1 parent 7f8587f commit 76af2f3

1 file changed

Lines changed: 41 additions & 41 deletions

File tree

css-text-3/test-coverage.html

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ <h2 class="no-num no-toc no-ref heading settled" id="abstract"><span class="cont
5353

5454
<hr>
5555

56-
<h2 id="introduction"><a href="https://drafts.csswg.org/css-text-3/#intro">Introduction</a></h2>
56+
<h2 id="introduction">1 <a href="https://drafts.csswg.org/css-text-3/#intro">Introduction</a></h2>
5757

5858
<p>Tests not needed.
5959

60-
<h3 id="module-interactions"><a href="https://drafts.csswg.org/css-text-3/#placement">Module Interactions</a></h3>
60+
<h3 id="module-interactions">1.1 <a href="https://drafts.csswg.org/css-text-3/#placement">Module Interactions</a></h3>
6161

6262
<p>Tests not needed.
6363

64-
<h3 id="values"><a href="https://drafts.csswg.org/css-text-3/#values">Values</a></h3>
64+
<h3 id="values">1.2 <a href="https://drafts.csswg.org/css-text-3/#values">Values</a></h3>
6565

6666
<p>Tests not really needed.
6767

@@ -71,7 +71,7 @@ <h3 id="values"><a href="https://drafts.csswg.org/css-text-3/#values">Values</a>
7171
<li>Check that the css-wide keywords work on every property.
7272
</ul>
7373

74-
<h3 id="languages-and-typesetting"><a href="https://drafts.csswg.org/css-text-3/#languages">Languages and Typesetting</a></h3>
74+
<h3 id="languages-and-typesetting">1.3 <a href="https://drafts.csswg.org/css-text-3/#languages">Languages and Typesetting</a></h3>
7575

7676
<p>Tests not really needed: these are definitions, they get tested through their applications, not standalone.
7777

@@ -81,7 +81,7 @@ <h3 id="languages-and-typesetting"><a href="https://drafts.csswg.org/css-text-3/
8181
<li>whether The HTTP Content-Language header is having the desired effect on things that depend on content language
8282
</ul>
8383

84-
<h3 id="characters-and-letters"><a href="https://drafts.csswg.org/css-text-3/#characters">Characters and Letters</a></h3>
84+
<h3 id="characters-and-letters">1.4 <a href="https://drafts.csswg.org/css-text-3/#characters">Characters and Letters</a></h3>
8585

8686
<p>For the most part, tests not really needed:
8787
these are definitions, they get tested through their applications, not standalone.
@@ -93,18 +93,18 @@ <h3 id="characters-and-letters"><a href="https://drafts.csswg.org/css-text-3/#ch
9393
<li>turning the content of example 1 into tests (first, check that it’s not already done)
9494
</ul>
9595

96-
<h3 id="text-processing"><a href="https://drafts.csswg.org/css-text-3/#text-encoding">Text Processing</a></h3>
96+
<h3 id="text-processing">1.5 <a href="https://drafts.csswg.org/css-text-3/#text-encoding">Text Processing</a></h3>
9797

9898
Exhaustive coverage unrealistic, since this section is effectively a dependency on all of Unicode.
9999

100100
Some tests nonetheless provided for sanity checking
101101
(such as the effect of certain control characters on Arabic shaping).
102102

103-
<h2 id="transforming-text"><a href="https://drafts.csswg.org/css-text-3/#transforming">Transforming Text</a></h2>
103+
<h2 id="transforming-text">2 <a href="https://drafts.csswg.org/css-text-3/#transforming">Transforming Text</a></h2>
104104

105105
<p>Test only needed in subsection.
106106

107-
<h3 id="case-transforms-the-text-transform-property"><a href="https://drafts.csswg.org/css-text-3/#text-transform-property"> Case Transforms: the text-transform property</a></h3>
107+
<h3 id="case-transforms-the-text-transform-property">2.1 <a href="https://drafts.csswg.org/css-text-3/#text-transform-property"> Case Transforms: the text-transform property</a></h3>
108108

109109
<p>Overall good coverage. Very good i18n coverage.
110110

@@ -120,7 +120,7 @@ <h3 id="case-transforms-the-text-transform-property"><a href="https://drafts.css
120120
<li>An automated test for plain text copy&amp;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.
121121
</ul>
122122

123-
<h2 id="white-space-and-wrapping-the-white-space-property"><a href="https://drafts.csswg.org/css-text-3/#white-space-property">White Space and Wrapping: the white-space property</a></h2>
123+
<h2 id="white-space-and-wrapping-the-white-space-property">3 <a href="https://drafts.csswg.org/css-text-3/#white-space-property">White Space and Wrapping: the white-space property</a></h2>
124124

125125
<p>Good overal coverage through section 4 (white space processing details) and subsections.
126126

@@ -148,7 +148,7 @@ <h2 id="white-space-and-wrapping-the-white-space-property"><a href="https://draf
148148
<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>
149149
</ul>
150150

151-
<h2 id="white-space-processing-details"><a href="https://drafts.csswg.org/css-text-3/#white-space-processing">White Space Processing Details</a></h2>
151+
<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>
152152

153153
<p>Partial coverage.
154154

@@ -158,17 +158,17 @@ <h2 id="white-space-processing-details"><a href="https://drafts.csswg.org/css-te
158158
<li>As required by [UNICODE], unsupported Default_ignorable characters must be ignored for rendering.
159159
</ul>
160160

161-
<h3 id="the-white-space-processing-rules">The <a href="https://drafts.csswg.org/css-text-3/#white-space-rules">White Space Processing Rules</a></h3>
161+
<h3 id="the-white-space-processing-rules">4.1 <a href="https://drafts.csswg.org/css-text-3/#white-space-rules">The White Space Processing Rules</a></h3>
162162

163163
<p>Sufficient coverage. All parts of this section are well exercised.
164164

165165
<p>Most tests to be found in subsections.
166166

167-
<h4 id="phase-i-collapsing-and-transformation"><a href="https://drafts.csswg.org/css-text-3/#white-space-phase-1">Phase I: Collapsing and Transformation</a></h4>
167+
<h4 id="phase-i-collapsing-and-transformation">4.1.1 <a href="https://drafts.csswg.org/css-text-3/#white-space-phase-1">Phase I: Collapsing and Transformation</a></h4>
168168

169169
<p>Sufficient coverage. All parts of this section are well exercised.
170170

171-
<h4 id="segment-break-transformation-rules"><a href="https://drafts.csswg.org/css-text-3/#line-break-transform">Segment Break Transformation Rules</a></h4>
171+
<h4 id="segment-break-transformation-rules">4.1.2 <a href="https://drafts.csswg.org/css-text-3/#line-break-transform">Segment Break Transformation Rules</a></h4>
172172

173173
<p>Partial coverage.
174174

@@ -187,7 +187,7 @@ <h4 id="segment-break-transformation-rules"><a href="https://drafts.csswg.org/cs
187187
<li>“Otherwise, the segment break is converted to a space (U+0020).”
188188
</ul>
189189

190-
<h4 id="phase-ii-trimming-and-positioning"><a href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">Phase II: Trimming and Positioning</a></h4>
190+
<h4 id="phase-ii-trimming-and-positioning">4.1.3 <a href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">Phase II: Trimming and Positioning</a></h4>
191191

192192
<p>Almost sufficient coverage. Most parts of this section are well exercised.
193193

@@ -197,7 +197,7 @@ <h4 id="phase-ii-trimming-and-positioning"><a href="https://drafts.csswg.org/css
197197
<li>See [UAX9] for rules on how U+0009 tabulation interacts with bidi.
198198
</ul>
199199

200-
<h3 id="tab-character-size-the-tab-size-property"><a href="https://drafts.csswg.org/css-text-3/#tab-size-property">Tab Character Size: the tab-size property</a></h3>
200+
<h3 id="tab-character-size-the-tab-size-property">4.2 <a href="https://drafts.csswg.org/css-text-3/#tab-size-property">Tab Character Size: the tab-size property</a></h3>
201201

202202
<p>Partial coverage.
203203

@@ -206,7 +206,7 @@ <h3 id="tab-character-size-the-tab-size-property"><a href="https://drafts.csswg.
206206
<li>No test of Animation type.
207207
</ul>
208208

209-
<h2 id="line-breaking-and-word-boundaries"><a href="https://drafts.csswg.org/css-text-3/#line-breaking">Line Breaking and Word Boundaries</a></h2>
209+
<h2 id="line-breaking-and-word-boundaries">5 <a href="https://drafts.csswg.org/css-text-3/#line-breaking">Line Breaking and Word Boundaries</a></h2>
210210

211211
<p>Tests not really needed: these are definitions, they get tested through their applications, not standalone.
212212

@@ -222,7 +222,7 @@ <h2 id="line-breaking-and-word-boundaries"><a href="https://drafts.csswg.org/css
222222
The following tests need to be reviewed for correctness: i18n/css3-text-line-break-baspglwj-( >002, &lt;120) and i18n/css3-text-line-break-opclns-*
223223
</div>
224224

225-
<h3 id="line-breaking-details"><a href="https://drafts.csswg.org/css-text-3/#line-break-details">Line Breaking Details</a></h3>
225+
<h3 id="line-breaking-details">5.1 <a href="https://drafts.csswg.org/css-text-3/#line-break-details">Line Breaking Details</a></h3>
226226

227227
<p>Spotty Coverage.
228228

@@ -240,7 +240,7 @@ <h3 id="line-breaking-details"><a href="https://drafts.csswg.org/css-text-3/#lin
240240
<li>UAs that allow wrapping at punctuation other than spaces should prioritize breakpoints. […]
241241
</ul>
242242

243-
<h3 id="breaking-rules-for-letters-the-word-break-property"><a href="https://drafts.csswg.org/css-text-3/#word-break-property">Breaking Rules for Letters: the word-break property</a></h3>
243+
<h3 id="breaking-rules-for-letters-the-word-break-property">5.2 <a href="https://drafts.csswg.org/css-text-3/#word-break-property">Breaking Rules for Letters: the word-break property</a></h3>
244244

245245
<p>Partial Coverage.
246246

@@ -264,7 +264,7 @@ <h3 id="breaking-rules-for-letters-the-word-break-property"><a href="https://dra
264264
<li>It does not affect rules governing the soft wrap opportunities created around punctuation
265265
</ul>
266266

267-
<h3 id="line-breaking-strictness-the-line-break-property"><a href="https://drafts.csswg.org/css-text-3/#line-break-property">Line Breaking Strictness: the line-break property</a></h3>
267+
<h3 id="line-breaking-strictness-the-line-break-property">5.3 <a href="https://drafts.csswg.org/css-text-3/#line-break-property">Line Breaking Strictness: the line-break property</a></h3>
268268

269269
<p>Extensive CJK coverage.
270270

@@ -283,7 +283,7 @@ <h3 id="line-breaking-strictness-the-line-break-property"><a href="https://draft
283283
<li>behavior of “auto”
284284
</ul>
285285

286-
<h3 id="hyphenation-the-hyphens-property"><a href="https://drafts.csswg.org/css-text-3/#hyphenation">Hyphenation: the hyphens property</a></h3>
286+
<h3 id="hyphenation-the-hyphens-property">5.4 <a href="https://drafts.csswg.org/css-text-3/#hyphenation">Hyphenation: the hyphens property</a></h3>
287287

288288
<p>Spotty coverage.
289289

@@ -304,7 +304,7 @@ <h3 id="hyphenation-the-hyphens-property"><a href="https://drafts.csswg.org/css-
304304
<li>However, if, even after breaking at such opportunities, a portion of that word is is still too long to fit on one line, an automatic hyphenation opportunity may be used.
305305
</ul>
306306

307-
<h3 id="overflow-wrapping-the-overflow-wrapword-wrap-property"><a href="https://drafts.csswg.org/css-text-3/#overflow-wrap-property">Overflow Wrapping: the overflow-wrap/word-wrap property</a></h3>
307+
<h3 id="overflow-wrapping-the-overflow-wrapword-wrap-property">5.5 <a href="https://drafts.csswg.org/css-text-3/#overflow-wrap-property">Overflow Wrapping: the overflow-wrap/word-wrap property</a></h3>
308308

309309
<p>Partial coverage.
310310

@@ -314,15 +314,15 @@ <h3 id="overflow-wrapping-the-overflow-wrapword-wrap-property"><a href="https://
314314
<li>No test of Animation type.
315315
</ul>
316316

317-
<h3 id="shaping-across-intra-word-breaks"><a href="https://drafts.csswg.org/css-text-3/#word-break-shaping">Shaping Across Intra-word Breaks</a></h3>
317+
<h3 id="shaping-across-intra-word-breaks">5.6 <a href="https://drafts.csswg.org/css-text-3/#word-break-shaping">Shaping Across Intra-word Breaks</a></h3>
318318

319319
<p>Good Coverage.
320320

321-
<h2 id="alignment-and-justification"><a href="https://drafts.csswg.org/css-text-3/#justification">Alignment and Justification</a></h2>
321+
<h2 id="alignment-and-justification">6 <a href="https://drafts.csswg.org/css-text-3/#justification">Alignment and Justification</a></h2>
322322

323323
<p>Test only needed in subsection.
324324

325-
<h3 id="text-alignment-the-text-align-shorthand"><a href="https://drafts.csswg.org/css-text-3/#text-align-property">Text Alignment: the text-align shorthand</a></h3>
325+
<h3 id="text-alignment-the-text-align-shorthand">6.1 <a href="https://drafts.csswg.org/css-text-3/#text-align-property">Text Alignment: the text-align shorthand</a></h3>
326326

327327
<p>Partial Coverage.
328328

@@ -334,15 +334,15 @@ <h3 id="text-alignment-the-text-align-shorthand"><a href="https://drafts.csswg.o
334334
<li>“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
335335
</ul>
336336

337-
<h3 id="default-text-alignment-the-text-align-all-property"><a href="https://drafts.csswg.org/css-text-3/#text-align-all-property">Default Text Alignment: the text-align-all property</a></h3>
337+
<h3 id="default-text-alignment-the-text-align-all-property">6.2 <a href="https://drafts.csswg.org/css-text-3/#text-align-all-property">Default Text Alignment: the text-align-all property</a></h3>
338338

339339
<p>No Tests.
340340

341-
<h3 id="last-line-alignment-the-text-align-last-property"><a href="https://drafts.csswg.org/css-text-3/#text-align-last-property">Last Line Alignment: the text-align-last property</a></h3>
341+
<h3 id="last-line-alignment-the-text-align-last-property">6.3 <a href="https://drafts.csswg.org/css-text-3/#text-align-last-property">Last Line Alignment: the text-align-last property</a></h3>
342342

343343
<p>Almost no automated tests.
344344

345-
<h3 id="justification-method-the-text-justify-property"><a href="https://drafts.csswg.org/css-text-3/#text-justify-property">Justification Method: the text-justify property</a></h3>
345+
<h3 id="justification-method-the-text-justify-property">6.4 <a href="https://drafts.csswg.org/css-text-3/#text-justify-property">Justification Method: the text-justify property</a></h3>
346346

347347
<p>Light coverage.
348348

@@ -361,7 +361,7 @@ <h3 id="justification-method-the-text-justify-property"><a href="https://drafts.
361361
<li>behavior of “auto”
362362
</ul>
363363

364-
<h4 id="expanding-and-compressing-text"><a href="https://drafts.csswg.org/css-text-3/#expanding-text">Expanding and Compressing Text</a></h4>
364+
<h4 id="expanding-and-compressing-text">6.4.1 <a href="https://drafts.csswg.org/css-text-3/#expanding-text">Expanding and Compressing Text</a></h4>
365365

366366
<p>No tests.
367367

@@ -374,13 +374,13 @@ <h4 id="expanding-and-compressing-text"><a href="https://drafts.csswg.org/css-te
374374
<li>… and maybe more
375375
</ul>
376376

377-
<h4 id="handling-symbols-and-punctuation"><a href="https://drafts.csswg.org/css-text-3/#justify-symbols">Handling Symbols and Punctuation</a></h4>
377+
<h4 id="handling-symbols-and-punctuation">6.4.2 <a href="https://drafts.csswg.org/css-text-3/#justify-symbols">Handling Symbols and Punctuation</a></h4>
378378

379379
<p>No tests.
380380

381381
<p>Not sure what is testable though
382382

383-
<h4 id="unexpandable-text"><a href="https://drafts.csswg.org/css-text-3/#justify-limits">Unexpandable Text</a></h4>
383+
<h4 id="unexpandable-text">6.4.3 <a href="https://drafts.csswg.org/css-text-3/#justify-limits">Unexpandable Text</a></h4>
384384

385385
<p>No tests.
386386

@@ -390,19 +390,19 @@ <h4 id="unexpandable-text"><a href="https://drafts.csswg.org/css-text-3/#justify
390390
<li>TBD…
391391
</ul>
392392

393-
<h4 id="cursive-scripts"><a href="https://drafts.csswg.org/css-text-3/#justify-cursive">Cursive Scripts</a></h4>
393+
<h4 id="cursive-scripts">6.4.4 <a href="https://drafts.csswg.org/css-text-3/#justify-cursive">Cursive Scripts</a></h4>
394394

395395
<p>No automated tests.
396396

397-
<h4 id="minimum-requirements-for-auto-justification"><a href="https://drafts.csswg.org/css-text-3/#justify-algos">Minimum Requirements for auto Justification</a></h4>
397+
<h4 id="minimum-requirements-for-auto-justification">6.4.5 <a href="https://drafts.csswg.org/css-text-3/#justify-algos">Minimum Requirements for auto Justification</a></h4>
398398

399399
<p>No Tests
400400

401-
<h2 id="spacing"><a href="https://drafts.csswg.org/css-text-3/#spacing">Spacing</a></h2>
401+
<h2 id="spacing">7. <a href="https://drafts.csswg.org/css-text-3/#spacing">Spacing</a></h2>
402402

403403
<p>Test only needed in subsections.
404404

405-
<h3 id="word-spacing-the-word-spacing-property"><a href="https://drafts.csswg.org/css-text-3/#word-spacing-property">Word Spacing: the word-spacing property</a></h3>
405+
<h3 id="word-spacing-the-word-spacing-property">7.1 <a href="https://drafts.csswg.org/css-text-3/#word-spacing-property">Word Spacing: the word-spacing property</a></h3>
406406

407407
<p>Almost No tests.
408408

@@ -426,7 +426,7 @@ <h3 id="word-spacing-the-word-spacing-property"><a href="https://drafts.csswg.or
426426
<li>text-word-spacing-001.html is wrong, the property no longer takes percentages
427427
</ul>
428428

429-
<h3 id="tracking-the-letter-spacing-property"><a href="https://drafts.csswg.org/css-text-3/#letter-spacing-property">Tracking: the letter-spacing property</a></h3>
429+
<h3 id="tracking-the-letter-spacing-property">7.2 <a href="https://drafts.csswg.org/css-text-3/#letter-spacing-property">Tracking: the letter-spacing property</a></h3>
430430

431431
<p>Spotty Coverage.
432432

@@ -445,21 +445,21 @@ <h3 id="tracking-the-letter-spacing-property"><a href="https://drafts.csswg.org/
445445
<li>However, ligatures and other font features specified via the low-level font-feature-settings property take precedence over this rule
446446
</ul>
447447

448-
<h4 id="cursive-scripts"><a href="https://drafts.csswg.org/css-text-3/#cursive-tracking">Cursive Scripts</a></h4>
448+
<h4 id="cursive-scripts">7.2.1 <a href="https://drafts.csswg.org/css-text-3/#cursive-tracking">Cursive Scripts</a></h4>
449449

450450
<p>No Tests.
451451

452452
<p>Not sure this can be tested automatically.
453453

454-
<h3 id="shaping-across-element-boundaries"><a href="https://drafts.csswg.org/css-text-3/#boundary-shaping">Shaping Across Element Boundaries</a></h3>
454+
<h3 id="shaping-across-element-boundaries">7.3 <a href="https://drafts.csswg.org/css-text-3/#boundary-shaping">Shaping Across Element Boundaries</a></h3>
455455

456456
<p>Good Coverage.
457457

458-
<h2 id="edge-effects"><a href="https://drafts.csswg.org/css-text-3/#edge-effects">Edge Effects</a></h2>
458+
<h2 id="edge-effects">8 <a href="https://drafts.csswg.org/css-text-3/#edge-effects">Edge Effects</a></h2>
459459

460460
<p>Test only needed in subsection.
461461

462-
<h3 id="first-line-indentation-the-text-indent-property"><a href="https://drafts.csswg.org/css-text-3/#text-indent-property">First Line Indentation: the text-indent property</a></h3>
462+
<h3 id="first-line-indentation-the-text-indent-property">8.1 <a href="https://drafts.csswg.org/css-text-3/#text-indent-property">First Line Indentation: the text-indent property</a></h3>
463463

464464
<p>Partial Coverage.
465465

@@ -474,7 +474,7 @@ <h3 id="first-line-indentation-the-text-indent-property"><a href="https://drafts
474474
<li>each-line keyword
475475
</ul>
476476

477-
<h3 id="hanging-punctuation-the-hanging-punctuation-property"><a href="https://drafts.csswg.org/css-text-3/#hanging-punctuation-property">Hanging Punctuation: the hanging-punctuation property</a></h3>
477+
<h3 id="hanging-punctuation-the-hanging-punctuation-property">8.2 <a href="https://drafts.csswg.org/css-text-3/#hanging-punctuation-property">Hanging Punctuation: the hanging-punctuation property</a></h3>
478478

479479
<p>Spotty Coverage.
480480

@@ -494,7 +494,7 @@ <h3 id="hanging-punctuation-the-hanging-punctuation-property"><a href="https://d
494494
<li>is still counted as part of the scrollable overflow region
495495
</ul>
496496

497-
<h3 id="bidirectionality-and-line-boxes"><a href="https://drafts.csswg.org/css-text-3/#bidi-linebox">Bidirectionality and Line Boxes</a></h3>
497+
<h3 id="bidirectionality-and-line-boxes">8.3 <a href="https://drafts.csswg.org/css-text-3/#bidi-linebox">Bidirectionality and Line Boxes</a></h3>
498498

499499
<p>No tests.
500500

0 commit comments

Comments
 (0)