Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions css-text-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -10495,7 +10495,7 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
Set <a>fullwidth opening punctuation</a> with full-width glyphs (spaced)
on the first line the [=block container=]
and each line after a [=forced line break=].
Otherwise as ''trim-auto''.
Otherwise as ''text-spacing/normal''.

<wpt>
text-spacing-trim/text-spacing-trim-001.html
Expand Down Expand Up @@ -10539,6 +10539,15 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
to freely switch among the various spacing/indentation styles
without needing to alter the content.
See [[#japanese-start-edges]] for examples.

Additionally, the behavior at the end of lines is aligned
with the ''text-spacing-trim/normal'' and ''trim-start'' values
rather than ''text-spacing-trim/trim-auto'',
in that it only trims the glyphs
if they do not otherwise fit prior to justification.
While improving the typography in fewer cases,
it is closer to the legacy behavior of ''space-all''
which reduces compatibility concerns.
</details>

<dt><dfn>trim-start</dfn>
Expand Down Expand Up @@ -10597,11 +10606,10 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
<td>yes
<tr>
<th>''trim-start''
<td>only if would not fit
<td rowspan=2>only if would not fit
<tr>
<th>''space-first''
<td>yes except on the first line
<td>yes
<tr>
<th>''trim-all''
<td colspan=4>yes
Expand Down