Skip to content

Commit 9736ed8

Browse files
committed
[css-text-3] Test coverage update
1 parent 977db07 commit 9736ed8

File tree

1 file changed

+56
-10
lines changed

1 file changed

+56
-10
lines changed

css-text-3/Overview.bs

Lines changed: 56 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,7 @@ Transforming Text</h2>
535535
536536
Missing tests:
537537
* no test of Animation type.
538+
* Applies to text
538539
539540
Possible additions:
540541
* 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."></wpt>
@@ -2121,6 +2122,10 @@ Phase II: Trimming and Positioning</h4>
21212122

21222123
Note: See the Unicode <a href="http://unicode.org/reports/tr9/#L1">rules on how tabulation (U+0009) interacts with bidi</a>. [[UAX9]]
21232124

2125+
<wpt>
2126+
bidi/bidi-tab-001.html
2127+
</wpt>
2128+
21242129
<wpt>
21252130
white-space/tab-bidi-001.html
21262131
</wpt>
@@ -2814,7 +2819,11 @@ CUT SEGMENT BREAK TRANSFORM -->
28142819
<h3 id="tab-size-property" caniuse="css3-tabsize" oldids="tab-size">
28152820
Tab Character Size: the 'tab-size' property</h3>
28162821

2817-
<wpt title="This section has good test coverage."></wpt>
2822+
<wpt title="
2823+
This section has good test coverage.
2824+
2825+
Missing test:
2826+
* Applies to text"></wpt>
28182827

28192828
<pre class="propdef">
28202829
Name: tab-size
@@ -2885,10 +2894,7 @@ Line Breaking and Word Boundaries</h2>
28852894
28862895
Can be a good section
28872896
to host tests for i18n requirements
2888-
not covered in detail by the spec.
2889-
2890-
Possible additions:
2891-
* Basic line breaking tests for any language mentioned (Thai, Lao, Khmer, Javanese, Balinese, Yi…)"></wpt>
2897+
not covered in detail by the spec."></wpt>
28922898

28932899
When inline-level content is laid out into lines, it is broken across line boxes.
28942900
Such a break is called a <dfn export>line break</dfn>.
@@ -2939,6 +2945,11 @@ Line Breaking and Word Boundaries</h2>
29392945
varies with the typesetting style.
29402946

29412947
<wpt>
2948+
line-breaking/line-breaking-023.html
2949+
line-breaking/line-breaking-024.html
2950+
line-breaking/line-breaking-025.html
2951+
line-breaking/line-breaking-026.html
2952+
line-breaking/line-breaking-027.html
29422953
i18n/css3-text-line-break-baspglwj-003.html
29432954
i18n/css3-text-line-break-baspglwj-004.html
29442955
i18n/css3-text-line-break-baspglwj-005.html
@@ -3249,7 +3260,6 @@ Line Breaking Details</h3>
32493260
Missing tests:
32503261
32513262
* 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.
3252-
* Test for <a href=https://github.com/w3c/csswg-drafts/issues/4284>https://github.com/w3c/csswg-drafts/issues/4284</a>
32533263
32543264
Untestable(?):
32553265
@@ -3446,6 +3456,14 @@ Line Breaking Details</h3>
34463456
it must assume a [=soft wrap opportunity=]
34473457
between pairs of [=typographic letter units=] in that writing system.
34483458

3459+
<wpt>
3460+
line-breaking/line-breaking-023.html
3461+
line-breaking/line-breaking-024.html
3462+
line-breaking/line-breaking-025.html
3463+
line-breaking/line-breaking-026.html
3464+
line-breaking/line-breaking-027.html
3465+
</wpt>
3466+
34493467
Note: This provision is not triggered merely when
34503468
the UA fails to find a word boundary in a particular text run;
34513469
the text run may well be a single unbreakable word.
@@ -3462,6 +3480,7 @@ Breaking Rules for Letters: the 'word-break' property</h3>
34623480
This section has partial test coverage.
34633481
34643482
Missing tests:
3483+
* Applies to text
34653484
* No test of Animation type.
34663485
* affects intrinsic sizing (tested for word-break:break-word)
34673486
* treating non-letter typographic character units belonging to the NU, AL, AI, or ID Unicode line breaking classes
@@ -4342,6 +4361,7 @@ Hyphenation: the 'hyphens' property</h3>
43424361
43434362
Missing tests:
43444363
* No test of Animation type.
4364+
* Applies to text
43454365
* “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)”
43464366
* “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.”"></wpt>
43474367

@@ -4657,6 +4677,7 @@ Overflow Wrapping: the 'overflow-wrap'/'word-wrap' property</h3>
46574677
This section has fairly good test coverage.
46584678
46594679
Missing tests:
4680+
* Applies to text
46604681
* No test of Animation type"></wpt>
46614682

46624683
<pre class="propdef">
@@ -5106,6 +5127,10 @@ Text Alignment: the 'text-align' shorthand</h3>
51065127
When specified on the 'text-align' shorthand,
51075128
sets both 'text-align-all' and 'text-align-last' to ''text-align/match-parent''.
51085129

5130+
<wpt>
5131+
text-align/text-align-match-parent-05.html
5132+
</wpt>
5133+
51095134
</dl>
51105135

51115136
A block of text
@@ -5183,11 +5208,10 @@ Last Line Alignment: the 'text-align-last' property</h3>
51835208
<wpt title="
51845209
This section has fairly good test coverage:
51855210
all value combinations for text-aling / text-align-last are excercized,
5186-
except for text-align-last: match-parent.
5211+
except for text-align-last: match-parent (which is exercised, but in a more limited way).
51875212
51885213
Missing tests:
51895214
* tests for Animation type
5190-
* tests for match-parent
51915215
51925216
"></wpt>
51935217

@@ -5267,6 +5291,7 @@ Last Line Alignment: the 'text-align-last' property</h3>
52675291
text-align/text-align-start-last-end.html
52685292
text-align/text-align-start-last-justify.html
52695293
text-align/text-align-start-last-start.html
5294+
text-align/text-align-match-parent-05.html
52705295
</wpt>
52715296

52725297
<h3 id="text-justify-property" caniuse="css-text-justify" oldids="text-justify">
@@ -5278,6 +5303,9 @@ Justification Method: the 'text-justify' property</h3>
52785303
but the tests are minimal.
52795304
Not sure we can do better though.
52805305
5306+
Missing text:
5307+
* Applies to text
5308+
52815309
Untestable(?):
52825310
* behavior of auto"></wpt>
52835311

@@ -5729,6 +5757,7 @@ Word Spacing: the 'word-spacing' property</h3>
57295757
This section has limited test coverage.
57305758
57315759
Missing tests:
5760+
* Applies to text
57325761
* inherit lengths as absolute
57335762
* should be applied half on each side of the character unless otherwise dictated by typographic tradition.
57345763
* doesn’t do anything between words defined by text analysis like in Thai, only on actual word separators
@@ -5915,10 +5944,10 @@ Tracking: the 'letter-spacing' property</h3>
59155944
This section has partial test coverage.
59165945
59175946
Missing tests:
5947+
* Applies to text
59185948
* 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.
59195949
* inherit lengths as absolute
59205950
* For legacy reasons, a computed letter-spacing of zero yields a resolved value (getComputedStyle() return value) of normal.
5921-
* 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
59225951
* However, ligatures and other font features specified via the low-level font-feature-settings property take precedence over this rule"></wpt>
59235952

59245953
<pre class="propdef">
@@ -6244,6 +6273,13 @@ Tracking: the 'letter-spacing' property</h3>
62446273
take precedence over this rule.
62456274
See [[css-fonts-3#feature-precedence]].
62466275

6276+
<wpt>
6277+
letter-spacing/letter-spacing-ligatures-001.html
6278+
letter-spacing/letter-spacing-ligatures-002.html
6279+
letter-spacing/letter-spacing-ligatures-003.html
6280+
letter-spacing/letter-spacing-ligatures-004.html
6281+
</wpt>
6282+
62476283
<div class="example">
62486284
For example, if the word “filial” is letter-spaced,
62496285
an “fi” ligature should not be used
@@ -6877,6 +6913,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
68776913
68786914
Missing tests:
68796915
* No test of Animation type.
6916+
* Applies to text
68806917
* Affects intrinsic sizing
68816918
* each value has a test, and checks with some characters, but there isn’t a test for every relevant unicode character
68826919
* it is not considered when measuring the line’s contents for […] alignment
@@ -7025,7 +7062,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
70257062
<h3 id="bidi-linebox">
70267063
Bidirectionality and Line Boxes</h3>
70277064

7028-
<wpt title="This section lacks tests."></wpt>
7065+
<wpt title="This section mostly lacks tests."></wpt>
70297066

70307067
The <a spec=css-writing-modes-4>start</a>
70317068
and <a spec=css-writing-modes-4>end</a> sides of a line box
@@ -7057,6 +7094,11 @@ Bidirectionality and Line Boxes</h3>
70577094
has strong directionality,
70587095
the line box’s [=inline base direction=] is that direction.
70597096

7097+
<wpt>
7098+
bidi/bidi-lines-001.html
7099+
bidi/bidi-lines-002.html
7100+
</wpt>
7101+
70607102
<li>
70617103
If the [=line box=] is empty
70627104
(i.e. contains no [=atomic inlines=] or
@@ -7068,6 +7110,10 @@ Bidirectionality and Line Boxes</h3>
70687110
or, if this is the first line box in the containing block,
70697111
from the 'direction' property of the containing block.
70707112
(This can result in an RTL line box whose contents have an LTR base direction.)
7113+
7114+
<wpt>
7115+
bidi/bidi-lines-002.html
7116+
</wpt>
70717117
</ul>
70727118

70737119
<div class="example">

0 commit comments

Comments
 (0)