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
+15-24Lines changed: 15 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -6126,9 +6126,10 @@ Word Spacing: the 'word-spacing' property</h3>
6126
6126
Tracking: the 'letter-spacing' property</h3>
6127
6127
6128
6128
<wpt title="
6129
-
This section has partial test coverage.
6129
+
This section has partial test coverage. Some tests may also need updating to the new letter-spacing model.
6130
6130
6131
6131
Missing tests:
6132
+
* switch to applying letter-spacing on both sides of each letter instead of between letters
6132
6133
* Applies to text
6133
6134
* 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.
6134
6135
* inherit lengths as absolute
@@ -6317,8 +6318,9 @@ Tracking: the 'letter-spacing' property</h3>
6317
6318
letter-spacing/letter-spacing-204.html
6318
6319
</wpt>
6319
6320
6320
-
Letter-spacing must not be applied at the beginning of a line.
6321
-
Whether letter-spacing is applied at the end of a line is undefined in this level.
6321
+
Letter-spacing is applied to each [=typographic character unit=]
6322
+
by inserting half of the additional spacing on each side;
6323
+
except it is not applied at the beginning or end of a line.
6322
6324
6323
6325
<wpt>
6324
6326
letter-spacing/letter-spacing-trim-start-001.html
@@ -6331,8 +6333,8 @@ Tracking: the 'letter-spacing' property</h3>
6331
6333
</wpt>
6332
6334
6333
6335
<div class="example">
6334
-
When letter-spacing is not applied at the beginning or end of a line,
6335
-
text always fits flush with the edge of the block.
6336
+
Letter-spacing is not applied at the beginning or end of a line
6337
+
so that text always fits flush with the edge of the block.
6336
6338
6337
6339
<pre highlight=css>
6338
6340
p { letter-spacing: 1em; }
@@ -6345,27 +6347,12 @@ Tracking: the 'letter-spacing' property</h3>
6345
6347
<p class="ls-ex good ls-fixed-width color-box" style="text-align: left">a b c</p>
6346
6348
<p class="ls-ex good ls-fixed-width color-box" style="text-align: right">a b c</p>
6347
6349
6348
-
UAs therefore <em>really should not</em>[[RFC6919]]
6349
-
append letter spacing to the right or trailing edge of a line:
6350
+
Applying letter spacing to the right or trailing edge of a line
6351
+
is incorrect:
6350
6352
6351
6353
<p class="ls-ex bad ls-fixed-width color-box" style="text-align: right">a b c </p>
6352
6354
</div>
6353
6355
6354
-
Letter spacing between two [=typographic character units=]
6355
-
effectively “belongs” to the innermost element
6356
-
that contains the two [=typographic character units=]:
6357
-
the total letter spacing between two adjacent [=typographic character units=]
6358
-
(after bidi reordering)
6359
-
is specified by and rendered within the innermost element
6360
-
that <em>contains</em> the boundary
6361
-
between the two [=typographic character units=].
6362
-
However, the UA may instead attach letter-spacing at element boundaries
6363
-
to one or the other [=typographic character unit=]
6364
-
using the letter-spacing value pertaining to its containing element.
6365
-
6366
-
Note: This secondary behavior is permitted in this level
6367
-
due to Web-compat concerns.
6368
-
6369
6356
<wpt>
6370
6357
letter-spacing/letter-spacing-bidi-002.html
6371
6358
letter-spacing/letter-spacing-bidi-004.xht
@@ -6377,6 +6364,7 @@ Tracking: the 'letter-spacing' property</h3>
6377
6364
letter-spacing/letter-spacing-205.html
6378
6365
</wpt>
6379
6366
6367
+
<!-- THIS EXAMPLE IS WRONG FIX IT
6380
6368
<div class="example">
6381
6369
An inline box is expected to only include
6382
6370
letter spacing between characters completely contained within that element,
@@ -6427,13 +6415,14 @@ Tracking: the 'letter-spacing' property</h3>
6427
6415
6428
6416
<pre highlight=html>
6429
6417
6430
-
<!-- abc followed by Hebrew letters alef (א), bet (ב) and gimel (ג) -->
6418
+
<!-- abc followed by Hebrew letters alef (א), bet (ב) and gimel (ג) -->
6431
6419
<!-- Reordering will display these in reverse order. -->
Letter spacing ignores invisible zero-width formatting characters
6439
6428
(such as those from the Unicode Cf category).
@@ -8407,7 +8396,9 @@ Recent Changes</h3>
8407
8396
8408
8397
The following changes have been made since
8409
8398
the <a href="https://www.w3.org/TR/2026/CRD-css-text-3-20260608/">June 2026 Candidate Recommendation Draft</a>:
8410
-
* Clarify that shaping breaks when 'vertical-align' is not its [=initial value=],
8399
+
* Changed the 'letter-spacing' model from inserting space <a href="https://www.w3.org/TR/2026/CRD-css-text-3-20260608/#letter-spacing">between characters</a> to <a href="#letter-spacing">around characters</a>.
Copy file name to clipboardExpand all lines: css-text-4/Overview.bs
+12-23Lines changed: 12 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -9961,9 +9961,10 @@ Word Spacing: the 'word-spacing' property</h3>
9961
9961
Tracking: the 'letter-spacing' property</h3>
9962
9962
9963
9963
<wpt title="
9964
-
This section has partial test coverage.
9964
+
This section has partial test coverage. Some tests may also need updating to the new letter-spacing model.
9965
9965
9966
9966
Missing tests:
9967
+
* switch to applying letter-spacing on both sides of each letter instead of between letters
9967
9968
* Applies to text
9968
9969
* 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.
9969
9970
* inherit lengths as absolute
@@ -10165,8 +10166,9 @@ Tracking: the 'letter-spacing' property</h3>
10165
10166
letter-spacing/letter-spacing-204.html
10166
10167
</wpt>
10167
10168
10168
-
Letter-spacing must not be applied at the beginning of a line.
10169
-
Whether letter-spacing is applied at the end of a line is undefined in this level.
10169
+
Letter-spacing is applied to each [=typographic character unit=]
10170
+
by inserting half of the additional spacing on each side;
10171
+
except it is not applied at the beginning or end of a line.
10170
10172
10171
10173
<wpt>
10172
10174
letter-spacing/letter-spacing-trim-start-001.html
@@ -10179,8 +10181,8 @@ Tracking: the 'letter-spacing' property</h3>
10179
10181
</wpt>
10180
10182
10181
10183
<div class="example">
10182
-
When letter-spacing is not applied at the beginning or end of a line,
10183
-
text always fits flush with the edge of the block.
10184
+
Letter-spacing is not applied at the beginning or end of a line
10185
+
so that text always fits flush with the edge of the block.
10184
10186
10185
10187
<pre highlight=css>
10186
10188
p { letter-spacing: 1em; }
@@ -10193,27 +10195,12 @@ Tracking: the 'letter-spacing' property</h3>
10193
10195
<p class="ls-ex good ls-fixed-width color-box" style="text-align: left">a b c</p>
10194
10196
<p class="ls-ex good ls-fixed-width color-box" style="text-align: right">a b c</p>
10195
10197
10196
-
UAs therefore <em>really should not</em>[[RFC6919]]
10197
-
append letter spacing to the right or trailing edge of a line:
10198
+
Applying letter spacing to the right or trailing edge of a line
10199
+
is incorrect:
10198
10200
10199
10201
<p class="ls-ex bad ls-fixed-width color-box" style="text-align: right">a b c </p>
10200
10202
</div>
10201
10203
10202
-
Letter spacing between two [=typographic character units=]
10203
-
effectively “belongs” to the innermost element
10204
-
that contains the two [=typographic character units=]:
10205
-
the total letter spacing between two adjacent [=typographic character units=]
10206
-
(after bidi reordering)
10207
-
is specified by and rendered within the innermost element
10208
-
that <em>contains</em> the boundary
10209
-
between the two [=typographic character units=].
10210
-
However, the UA may instead attach letter-spacing at element boundaries
10211
-
to one or the other [=typographic character unit=]
10212
-
using the letter-spacing value pertaining to its containing element.
10213
-
10214
-
Note: This secondary behavior is permitted in this level
10215
-
due to Web-compat concerns.
10216
-
10217
10204
<wpt>
10218
10205
letter-spacing/letter-spacing-bidi-002.html
10219
10206
letter-spacing/letter-spacing-bidi-004.xht
@@ -10225,6 +10212,7 @@ Tracking: the 'letter-spacing' property</h3>
10225
10212
letter-spacing/letter-spacing-205.html
10226
10213
</wpt>
10227
10214
10215
+
<!-- THIS EXAMPLE IS WRONG FIX IT
10228
10216
<div class="example">
10229
10217
An inline box is expected to only include
10230
10218
letter spacing between characters completely contained within that element,
@@ -10275,13 +10263,14 @@ Tracking: the 'letter-spacing' property</h3>
10275
10263
10276
10264
<pre highlight=html>
10277
10265
10278
-
<!-- abc followed by Hebrew letters alef (א), bet (ב) and gimel (ג) -->
10266
+
<!-- abc followed by Hebrew letters alef (א), bet (ב) and gimel (ג) -->
10279
10267
<!-- Reordering will display these in reverse order. -->
0 commit comments