Skip to content

Commit 146d1c3

Browse files
committed
[css-text-3] Update text coverage info
1 parent acb5fc9 commit 146d1c3

1 file changed

Lines changed: 19 additions & 27 deletions

File tree

css-text-3/test-coverage.html

Lines changed: 19 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<div class=head>
88
<h1 id=title>CSS Text 3 test coverage report</h1>
9-
<h2 class=subtitle>2020-10-01</h2>
9+
<h2 class=subtitle>2020-11-20</h2>
1010
<dl>
1111
<dt class="editor">Prepared by:
1212
<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>)
@@ -19,8 +19,8 @@ <h2 class="no-num no-toc no-ref heading settled" id="abstract"><span class="cont
1919

2020
<p>
2121
This report evaluates the test coverage of the <a href="https://drafts.csswg.org/css-text-3/">CSS Text Module Level 3</a>
22-
as it was on 2020-10-01
23-
when the latest commit was <a href="https://github.com/w3c/csswg-drafts/blob/38616d80bf3c5e10f3093b0aa952ff33bef8a440/css-text-3/Overview.bs">38616d80bf3c5e10f3093b0aa952ff33bef8a440</a>.
22+
as it was on 2020-11-20
23+
when the latest commit was <a href="https://github.com/w3c/csswg-drafts/blob/acb5fc92b5814b6fdba8e6f63a05263eb0403f95/css-text-3/Overview.bs">acb5fc92b5814b6fdba8e6f63a05263eb0403f95</a>.
2424
It is provided for discussion only and may change at any moment.
2525
Its publication here does not imply endorsement of its contents by W3C,
2626
or the CSS-Working Group.
@@ -35,11 +35,6 @@ <h2 class="no-num no-toc no-ref heading settled" id="abstract"><span class="cont
3535
<li><a href="https://github.com/web-platform-tests/wpt/tree/master/css/vendor-imports/mozilla/mozilla-central-reftests/text3">wpt/css/vendor-imports/mozilla/mozilla-central-reftests/text3/</a>
3636
</ul>
3737

38-
<p>
39-
It does <strong>not</strong> include tests from:
40-
<ul>
41-
<li><a href="https://github.com/web-platform-tests/wpt/tree/master/css/CSS2">wpt/css/CSS2/</a>, other than those related to the <code>white-space</code> property.
42-
</ul>
4338
</div>
4439

4540
<p>
@@ -159,12 +154,6 @@ <h4 id="segment-break-transformation-rules">4.1.3 <a href="https://drafts.csswg.
159154

160155
<p>Partial coverage.
161156

162-
<div class=issue>
163-
This section is being revamped, but there is not yet WG agreement on what it ought to be.
164-
Test coverage indicated here is with respect to the spec as it was before the proposed change.
165-
To be updated if the proposed new approach is validated by the WG
166-
</div>
167-
168157
<p>Indirectly tested, no dedicated tests:
169158

170159
<ul>
@@ -174,12 +163,15 @@ <h4 id="segment-break-transformation-rules">4.1.3 <a href="https://drafts.csswg.
174163
<p>Missing tests:
175164

176165
<ul>
177-
<li>the first 3 bullet points are not tested for “nowrap”
178-
<li>“Otherwise, if the writing system of the segment break is Chinese, Japanese, or Yi, […]”
179-
<li>For this purpose, Emoji (Unicode property Emoji) with an East Asian Width property of W or N are treated as having an East Asian Width property of A.
180-
<li>inline element boundary and out of flow elements have no effect on these rules
166+
<li>First, any collapsible <a>segment break</a> immediately following another collapsible <a>segment break</a>
181167
</ul>
182168

169+
<div class=note>
170+
We have quite a few tentative tests for this section,
171+
based on an earlier draft.
172+
We have since then decided to deffer this topic to level 4
173+
</div>
174+
183175
<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>
184176

185177
<p>Good coverage.
@@ -397,6 +389,12 @@ <h3 id="tracking-the-letter-spacing-property">7.2 <a href="https://drafts.csswg.
397389

398390
<p>Missing tests:
399391

392+
<div class=issue>Issue:
393+
Due to <a href="https://github.com/w3c/csswg-drafts/issues/1518">issue 1518</a>,
394+
some/many tests in this section should be converted
395+
from MUST to SHOULD.
396+
</div>
397+
400398
<ul>
401399
<li>inherit lengths as absolute
402400
<li>For legacy reasons, a computed letter-spacing of zero yields a resolved value (getComputedStyle() return value) of normal.
@@ -460,9 +458,7 @@ <h3 id="bidirectionality-and-line-boxes">8.3 <a href="https://drafts.csswg.org/c
460458

461459
<ul>
462460
<li>if its containing block has unicode-bidi: plaintext [CSS-WRITING-MODES-3], the line box’s inline base direction must be determined by the inline base direction of the bidi paragraph to which it belongs
463-
<ul>
464-
<li>An empty line box (i.e. one that contains no atomic inlines or characters other than the line-breaking character, if any), takes its inline base direction from the preceding line box (if any), or, if this is the first line box in the containing block, then from the direction property of the containing block.
465-
</ul>
461+
<li>An empty line box (i.e. one that contains no atomic inlines or characters other than the line-breaking character, if any) or one whose <a>bidi paragraph</a> has no strong directionality (contains only weak or neutral characters), takes its inline base direction from the preceding line box (if any), or, if this is the first line box in the containing block, then from the direction property of the containing block.
466462
</ul>
467463

468464
<h2 id="appendix-a-text-processing-order-of-operations"><a href="https://drafts.csswg.org/css-text-3/#order">Appendix A: Text Processing Order of Operations</a></h2>
@@ -499,13 +495,9 @@ <h2 id="appendix-e-characters-and-properties"><a href="https://drafts.csswg.org/
499495
<li>Grapheme clusters formed with a Space Separator (Zs) as the base are considered to be Modifier Symbols (Sk). They are assumed to have the same East Asian Width property as the base, but take their other properties from the first combining character in the sequence.
500496
</ul>
501497

502-
<h2 id="appendix-f"><a href="file:///Users/florian/src/csswg-drafts/css-text-3/Overview.html#space-discard-set">Appendix F. Space-Discarding Unicode Characters</a></h2>
503-
504-
<p>No Tests.
505-
506498
<p>To be completed, depending on the same criteria as <a href="#segment-break-transformation-rules">4.1.3</a>
507499

508-
<h2 id="appendix-g-tagging-content-by-writing-system"><a href="https://drafts.csswg.org/css-text-3/#script-tagging">Appendix G. Tagging Content by Writing System</a></h2>
500+
<h2 id="appendix-g-tagging-content-by-writing-system"><a href="https://drafts.csswg.org/css-text-3/#script-tagging">Appendix F. Tagging Content by Writing System</a></h2>
509501

510502
<p>Partial Coverage.
511503

@@ -519,7 +511,7 @@ <h2 id="appendix-g-tagging-content-by-writing-system"><a href="https://drafts.cs
519511
<li>if the writing system to specified to be one of the Kore, Hang, or Jamo [ISO15924] codes, then the writing system is Korean.
520512
</ul>
521513

522-
<h2 id="appendix-h-small-kana-mappings"><a href="https://drafts.csswg.org/css-text-3/#small-kana">Appendix H. Small Kana Mappings</a></h2>
514+
<h2 id="appendix-h-small-kana-mappings"><a href="https://drafts.csswg.org/css-text-3/#small-kana">Appendix G. Small Kana Mappings</a></h2>
523515

524516
<p>Adequate Coverage.
525517

0 commit comments

Comments
 (0)