Uh oh!
There was an error while loading. Please reload this page.
Force breaks on extremely long words in comments - #7163
Conversation
Codecov Report
@@ Coverage Diff @@## master #7163 +/- ##
============================================
- Coverage 50.84% 50.75% -0.09% + Complexity 24545 24479 -66
============================================
Files 1585 1581 -4 Lines 93796 93578 -218 Branches 1354 1353 -1 ============================================
- Hits 47687 47492 -195 + Misses 46109 46086 -23
|
jancborchardt
commented
Nov 13, 2017
break-all breaks all words, hence this is needed: |
danxuliu
commented
Nov 14, 2017
@jancborchardt Are According to Can I Use Can I Use also says that |
jancborchardt
commented
Nov 14, 2017
@danxuliu try out with a longer sentence which has one really long word but a lot of regular, non-overflowing ones in it. With break-all, the regular ones will also be broken. (Yeah it's a mess) |
danxuliu
commented
Nov 14, 2017
Ugh, you are totally right. Should we use |
jancborchardt
commented
Nov 14, 2017
@danxuliu I think we need both, see https://css-tricks.com/almanac/properties/w/word-break/ |
Mmm, I have tested it in Firefox and Chromium and it seems that, in practice, |
jancborchardt
commented
Nov 16, 2017
@danxuliu do you have a solution which both:
If so, we should use that. :) If not we need to decide what is more important to us. (I would say not messing with regular words is more important.) |
If not broken extremely long words overflow their container. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
12b1be5 to
5d85af7Comparedanxuliu
commented
Nov 17, 2017
Me? I am just a CSS wannabe :-P You are the master here ;-) Anyway, based on all of the above (and for latin-based scripts; I do not know about others, sorry :-( ), the summary is:
I totally agree with not messing with regular words. Therefore I guess that the winner is The only value that I can see in |
jancborchardt
left a comment
There was a problem hiding this comment.
Seems good - we can always enhance as we go forward. Especially as I hope CSS will improve here :D


If not broken extremely long words overflow their container; I have added the break rule to the whole comment, so it will be used too in author names (even if it is highly unlikely that any author name would be long enough to overflow...).
Before:

After:
