Skip to content

Commit 9fa8d0a

Browse files
committed
[css-text-3] Hang trailing collapsible other space separators instead of removing them
Close #4180
1 parent 6a33764 commit 9fa8d0a

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

css-text-3/Overview.bs

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1595,18 +1595,12 @@ Text Processing</h3>
15951595
<li>A sequence at the end of a line
15961596
(ignoring any intervening <a>inline box</a> boundaries)
15971597
of <a>collapsible</a> [=spaces=]
1598-
and/or [=other space separators=] whose 'white-space' value collapses spaces
15991598
is removed.
16001599

16011600
<wpt>
16021601
white-space/line-edge-white-space-collapse-001.html
16031602
white-space/pre-float-001.html
16041603
white-space/pre-wrap-float-001.html
1605-
white-space/trailing-ideographic-space-001.html
1606-
white-space/trailing-ideographic-space-002.html
1607-
white-space/trailing-other-space-separators-001.html
1608-
white-space/trailing-other-space-separators-003.html
1609-
white-space/trailing-other-space-separators-004.html
16101604
white-space/trailing-space-before-br-001.html
16111605
</wpt>
16121606
<wpt pathprefix="/css/CSS2/text/">
@@ -1621,10 +1615,21 @@ Text Processing</h3>
16211615
white-space-processing-047.xht
16221616
</wpt>
16231617
<li>If there remains any sequence of <a>white space</a>,
1624-
[=other space separators=],
1625-
and/or [=preserved=] [=tabs=]
1626-
at the end of a line:
1618+
and/or [=other space separators=],
1619+
at the end of a line
1620+
(ignoring any intervening <a>inline box</a> boundaries):
16271621
<ul>
1622+
<li>If 'white-space' is set to ''white-space/normal'', ''white-space/nowrap'', or ''white-space/pre-line'',
1623+
the UA must [=hang=] this sequence (unconditionally).
1624+
1625+
<wpt>
1626+
white-space/trailing-ideographic-space-001.html
1627+
white-space/trailing-ideographic-space-002.html
1628+
white-space/trailing-other-space-separators-001.html
1629+
white-space/trailing-other-space-separators-003.html
1630+
white-space/trailing-other-space-separators-004.html
1631+
</wpt>
1632+
16281633
<li>If 'white-space' is set to ''pre-wrap'',
16291634
the UA must [=conditionally hang=] this sequence.
16301635
It may also visually collapse the character advance widths

0 commit comments

Comments
 (0)