These seem to do the same thing, whats the difference? https://jsfiddle.net/pmuub8w1/2/
p{
word-break:normal;
}
p{
word-break: keep-all;
}
ALongWord
is going out of bounds at the AL
then break-all
will make the rest ongWord
go to the second line. This will not be done for the CJK
characters.normal
except in case of CJK
it won't break at all (neither by line rules as done by normal
nor at characters as done by break-all
)Following is the screenshot of the example at Mozzila documentation.
Notice the difference between how the non CJK and CJK sentences are treated.