Skip to content
Merged
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
20 changes: 12 additions & 8 deletions css-text-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1595,18 +1595,12 @@ Text Processing</h3>
<li>A sequence at the end of a line
(ignoring any intervening <a>inline box</a> boundaries)
of <a>collapsible</a> [=spaces=]
and/or [=other space separators=] whose 'white-space' value collapses spaces
is removed.

<wpt>
white-space/line-edge-white-space-collapse-001.html
white-space/pre-float-001.html
white-space/pre-wrap-float-001.html
white-space/trailing-ideographic-space-001.html
white-space/trailing-ideographic-space-002.html
white-space/trailing-other-space-separators-001.html
white-space/trailing-other-space-separators-003.html
white-space/trailing-other-space-separators-004.html
white-space/trailing-space-before-br-001.html
</wpt>
<wpt pathprefix="/css/CSS2/text/">
Expand All @@ -1621,10 +1615,20 @@ Text Processing</h3>
white-space-processing-047.xht
</wpt>
<li>If there remains any sequence of <a>white space</a>,
[=other space separators=],
and/or [=preserved=] [=tabs=]
and/or [=other space separators=],
at the end of a line:
<ul>
<li>If 'white-space' is set to ''white-space/normal'', ''white-space/nowrap'', or ''white-space/pre-line'',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the condition is 1) when trailing collapsible spaces are removed, or 2) when trailing collapsible spaces hang. I understand we need some more discussion when to hang for pre-wrap but is this intention agreeable?

the UA must [=hang=] this sequence (unconditionally).

<wpt>
white-space/trailing-ideographic-space-001.html
white-space/trailing-ideographic-space-002.html
white-space/trailing-other-space-separators-001.html
white-space/trailing-other-space-separators-003.html
white-space/trailing-other-space-separators-004.html
</wpt>

<li>If 'white-space' is set to ''pre-wrap'',
the UA must [=conditionally hang=] this sequence.
It may also visually collapse the character advance widths
Expand Down