Re: [csswg-drafts] [css-text] A single leading white-space should prevent word breaking honoring white-space: pre-wrap

I believe so should work `overflow-break: break-word`, but not `word-break: break-all`. Since `work-break` is already applied, the content has soft break opportunities before/after any character (i.e. letters effectively don't make a "word" anymore), so one letter _would not_ cause overflowing, but two letters would, so _the second_ letter should be wrapped to the new line. In my understanding, the word "additional" for the wrap opportunities created by `word-break` doesn't mean "secondary" (and doesn't imply that other wrap opportunities were "primary"), it just means that the content has more wrap opportunities with the `break-all` value than without it.

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

Received on Friday, 13 July 2018 12:51:48 UTC