Skip to content

Commit 97cc7a6

Browse files
authored
[css-text-3] Hang trailing collapsible other space separators instead of removing them (#4290)
Close #4180
1 parent 33848a2 commit 97cc7a6

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

css-text-3/Overview.bs

+12-8
Original file line numberDiff line numberDiff line change
@@ -1600,18 +1600,12 @@ Text Processing</h3>
16001600

16011601
<li>A sequence at the end of a line
16021602
of <a>collapsible</a> [=spaces=]
1603-
and/or [=other space separators=] whose 'white-space' value collapses spaces
16041603
is removed.
16051604

16061605
<wpt>
16071606
white-space/line-edge-white-space-collapse-001.html
16081607
white-space/pre-float-001.html
16091608
white-space/pre-wrap-float-001.html
1610-
white-space/trailing-ideographic-space-001.html
1611-
white-space/trailing-ideographic-space-002.html
1612-
white-space/trailing-other-space-separators-001.html
1613-
white-space/trailing-other-space-separators-003.html
1614-
white-space/trailing-other-space-separators-004.html
16151609
white-space/trailing-space-before-br-001.html
16161610
</wpt>
16171611
<wpt pathprefix="/css/CSS2/text/">
@@ -1626,10 +1620,20 @@ Text Processing</h3>
16261620
white-space-processing-047.xht
16271621
</wpt>
16281622
<li>If there remains any sequence of <a>white space</a>,
1629-
[=other space separators=],
1630-
and/or [=preserved=] [=tabs=]
1623+
and/or [=other space separators=],
16311624
at the end of a line:
16321625
<ul>
1626+
<li>If 'white-space' is set to ''white-space/normal'', ''white-space/nowrap'', or ''white-space/pre-line'',
1627+
the UA must [=hang=] this sequence (unconditionally).
1628+
1629+
<wpt>
1630+
white-space/trailing-ideographic-space-001.html
1631+
white-space/trailing-ideographic-space-002.html
1632+
white-space/trailing-other-space-separators-001.html
1633+
white-space/trailing-other-space-separators-003.html
1634+
white-space/trailing-other-space-separators-004.html
1635+
</wpt>
1636+
16331637
<li>If 'white-space' is set to ''pre-wrap'',
16341638
the UA must [=conditionally hang=] this sequence.
16351639
It may also visually collapse the character advance widths

0 commit comments

Comments
 (0)