Skip to content

Commit fedc16f

Browse files
committed
[css-text-3] Clarify break-spaces. w3c#5783
1 parent a739e08 commit fedc16f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

css-text-3/Overview.bs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1950,11 +1950,14 @@ Order of Operations</h4>
19501950
Note: [=Hanging=] the white space rather than collapsing it
19511951
allows users to see the space when selecting or editing text.
19521952
<li>If 'white-space' is set to ''break-spaces'',
1953-
[=hanging=] or collapsing the advance width of the [=spaces=],
1954-
[=tabs=],
1955-
or [=other space separators=]
1956-
at the end of the line is not allowed;
1957-
those that overflow must <a>wrap</a> to the next line.
1953+
[=spaces=], [=tabs=], and [=other space separators=]
1954+
are treated the same as other visible characters:
1955+
they cannot [=hang=] nor have their advance width collapsed.
1956+
1957+
Note: Such characters therefore take up space,
1958+
and depending on the available space
1959+
and applicable line breaking controls
1960+
will either overflow or cause the line to wrap.
19581961

19591962
<wpt>
19601963
white-space/break-spaces-001.html

0 commit comments

Comments
 (0)