Re: [csswg-drafts] [css-text-3] pre-wrap + break-word

This text has evolved in the spec quite a bit over time to take various use cases and subtleties into account. The result is that with `white-space:pre-wrap` + `word-wrap:break-word`, the UA is allowed to do one of two things:
* collapse those of the the spaces at the end of the line that would otherwise overflow
* [hang](https://drafts.csswg.org/css-text-3/#hang) the spaces at the end of the line. So they stay there (selectable, underlinable, etc)

If you want them to be wrapped, with have introduced a new value: `white-space: break-spaces`, which does the same as `white-space:pre-wrap` except for that difference.

(Closing as Invalid, because this is a question, not an issue.)

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2329#issuecomment-421713770 using your GitHub account

Received on Sunday, 16 September 2018 07:13:40 UTC