-
Notifications
You must be signed in to change notification settings - Fork 733
Description
I think the current text of the white-space property still has some inaccuracies or confusing terminology about the kind of spaces it applies to; maybe not regarding collapsing behavior, since it only applies to white space, but definitively when it comes to specify the additional breaking opportunities.
A line breaking opportunity exists after every preserved white space character, including between white space characters.
This statement only mentions white space characters, but in the Phase II of the White Space Processing section, it is specified that 'white-space: break-spaces' affects how other space separators should be handled as well
https://drafts.csswg.org/css-text-3/#white-space-phase-2
If white-space is set to break-spaces, hanging or collapsing the advance width of the spaces, tabs, or other space separators at the end of the line is not allowed; those that overflow must wrap to the next line.
I think we should clarify in the 'break-spaces' value definition that it applies to sequence of other space separators as well.