You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-text-3/Overview.bs
+56-10Lines changed: 56 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -535,6 +535,7 @@ Transforming Text</h2>
535
535
536
536
Missing tests:
537
537
* no test of Animation type.
538
+
* Applies to text
538
539
539
540
Possible additions:
540
541
* 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."></wpt>
@@ -2121,6 +2122,10 @@ Phase II: Trimming and Positioning</h4>
2121
2122
2122
2123
Note: See the Unicode <a href="http://unicode.org/reports/tr9/#L1">rules on how tabulation (U+0009) interacts with bidi</a>. [[UAX9]]
<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>
2818
2827
2819
2828
<pre class="propdef">
2820
2829
Name: tab-size
@@ -2885,10 +2894,7 @@ Line Breaking and Word Boundaries</h2>
2885
2894
2886
2895
Can be a good section
2887
2896
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>
2892
2898
2893
2899
When inline-level content is laid out into lines, it is broken across line boxes.
2894
2900
Such a break is called a <dfn export>line break</dfn>.
@@ -2939,6 +2945,11 @@ Line Breaking and Word Boundaries</h2>
2939
2945
varies with the typesetting style.
2940
2946
2941
2947
<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
2942
2953
i18n/css3-text-line-break-baspglwj-003.html
2943
2954
i18n/css3-text-line-break-baspglwj-004.html
2944
2955
i18n/css3-text-line-break-baspglwj-005.html
@@ -3249,7 +3260,6 @@ Line Breaking Details</h3>
3249
3260
Missing tests:
3250
3261
3251
3262
* 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>
3253
3263
3254
3264
Untestable(?):
3255
3265
@@ -3446,6 +3456,14 @@ Line Breaking Details</h3>
3446
3456
it must assume a [=soft wrap opportunity=]
3447
3457
between pairs of [=typographic letter units=] in that writing system.
3448
3458
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
+
3449
3467
Note: This provision is not triggered merely when
3450
3468
the UA fails to find a word boundary in a particular text run;
3451
3469
the text run may well be a single unbreakable word.
@@ -3462,6 +3480,7 @@ Breaking Rules for Letters: the 'word-break' property</h3>
3462
3480
This section has partial test coverage.
3463
3481
3464
3482
Missing tests:
3483
+
* Applies to text
3465
3484
* No test of Animation type.
3466
3485
* affects intrinsic sizing (tested for word-break:break-word)
3467
3486
* 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>
4342
4361
4343
4362
Missing tests:
4344
4363
* No test of Animation type.
4364
+
* Applies to text
4345
4365
* “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)”
4346
4366
* “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>
4347
4367
@@ -4657,6 +4677,7 @@ Overflow Wrapping: the 'overflow-wrap'/'word-wrap' property</h3>
4657
4677
This section has fairly good test coverage.
4658
4678
4659
4679
Missing tests:
4680
+
* Applies to text
4660
4681
* No test of Animation type"></wpt>
4661
4682
4662
4683
<pre class="propdef">
@@ -5106,6 +5127,10 @@ Text Alignment: the 'text-align' shorthand</h3>
5106
5127
When specified on the 'text-align' shorthand,
5107
5128
sets both 'text-align-all' and 'text-align-last' to ''text-align/match-parent''.
5108
5129
5130
+
<wpt>
5131
+
text-align/text-align-match-parent-05.html
5132
+
</wpt>
5133
+
5109
5134
</dl>
5110
5135
5111
5136
A block of text
@@ -5183,11 +5208,10 @@ Last Line Alignment: the 'text-align-last' property</h3>
5183
5208
<wpt title="
5184
5209
This section has fairly good test coverage:
5185
5210
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).
5187
5212
5188
5213
Missing tests:
5189
5214
* tests for Animation type
5190
-
* tests for match-parent
5191
5215
5192
5216
"></wpt>
5193
5217
@@ -5267,6 +5291,7 @@ Last Line Alignment: the 'text-align-last' property</h3>
@@ -5278,6 +5303,9 @@ Justification Method: the 'text-justify' property</h3>
5278
5303
but the tests are minimal.
5279
5304
Not sure we can do better though.
5280
5305
5306
+
Missing text:
5307
+
* Applies to text
5308
+
5281
5309
Untestable(?):
5282
5310
* behavior of auto"></wpt>
5283
5311
@@ -5729,6 +5757,7 @@ Word Spacing: the 'word-spacing' property</h3>
5729
5757
This section has limited test coverage.
5730
5758
5731
5759
Missing tests:
5760
+
* Applies to text
5732
5761
* inherit lengths as absolute
5733
5762
* should be applied half on each side of the character unless otherwise dictated by typographic tradition.
5734
5763
* 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>
5915
5944
This section has partial test coverage.
5916
5945
5917
5946
Missing tests:
5947
+
* Applies to text
5918
5948
* 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.
5919
5949
* inherit lengths as absolute
5920
5950
* 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
5922
5951
* However, ligatures and other font features specified via the low-level font-feature-settings property take precedence over this rule"></wpt>
5923
5952
5924
5953
<pre class="propdef">
@@ -6244,6 +6273,13 @@ Tracking: the 'letter-spacing' property</h3>
6244
6273
take precedence over this rule.
6245
6274
See [[css-fonts-3#feature-precedence]].
6246
6275
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
+
6247
6283
<div class="example">
6248
6284
For example, if the word “filial” is letter-spaced,
6249
6285
an “fi” ligature should not be used
@@ -6877,6 +6913,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
6877
6913
6878
6914
Missing tests:
6879
6915
* No test of Animation type.
6916
+
* Applies to text
6880
6917
* Affects intrinsic sizing
6881
6918
* each value has a test, and checks with some characters, but there isn’t a test for every relevant unicode character
6882
6919
* it is not considered when measuring the line’s contents for […] alignment
@@ -7025,7 +7062,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
0 commit comments