Skip to content

Commit d684b71

Browse files
committed
[css-text] Add informal summary of text-spacing-trim
Part of w3c#9511
1 parent 9326e57 commit d684b71

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

css-text-4/Overview.bs

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10570,6 +10570,47 @@ CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
1057010570
ISSUE: Do we need ''text-spacing-trim/auto''? It would be weird for the author to choose platform-dependent behavior at the start of the first line, and it should otherwise use ''text-spacing-trim/trim-auto''.
1057110571
</dl>
1057210572
10573+
<div class=note>
10574+
Here is an informal summary of what the various values do:
10575+
10576+
<table class="complex data">
10577+
<thead>
10578+
<tr>
10579+
<th>Value
10580+
<th>Trim at line start
10581+
<th>Trim adjacent pairs
10582+
<th>Trim at line end
10583+
<th>Trim everywhere
10584+
<tbody>
10585+
<tr>
10586+
<th>''space-all''
10587+
<td colspan=4>no
10588+
<tr>
10589+
<th>''text-spacing-trim/normal''
10590+
<td>no
10591+
<td rowspan=4>yes
10592+
<td>only if would not fit
10593+
<td rowspan=4>no
10594+
<tr>
10595+
<th>''trim-auto''
10596+
<td rowspan=2>yes
10597+
<td>yes
10598+
<tr>
10599+
<th>''trim-start''
10600+
<td>only if would not fit
10601+
<tr>
10602+
<th>''space-first''
10603+
<td>yes except on the first line
10604+
<td>yes
10605+
<tr>
10606+
<th>''trim-all''
10607+
<td colspan=4>yes
10608+
<tr>
10609+
<th>''auto''
10610+
<td colspan=4>user-agent specific / platform dependent
10611+
</table>
10612+
</div>
10613+
1057310614
1057410615
<h4 id="fullwidth-collapsing">
1057510616
Fullwidth Punctuation Collapsing</h4>

0 commit comments

Comments
 (0)