[csswg-drafts] [css-text] 'white-space: break-spaces' applies to other space separators as well (#4522)

javifernandez has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text] 'white-space: break-spaces' applies to other space separators as well ==
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](https://drafts.csswg.org/css-text-3/#white-space), but definitively when it comes to specify the additional breaking opportunities.

https://drafts.csswg.org/css-text-3/#valdef-white-space-break-spaces
> 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 ](https://drafts.csswg.org/css-text-3/#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.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4522 using your GitHub account

Received on Tuesday, 19 November 2019 21:56:25 UTC