Is there any difference (apart from browser support) in terms of behavior between the following css properties?
overflow-wrap: break-word;
and
word-wrap: break-word;
Perhaps word-wrap property has been just renamed to overflow-wrap in the current draft of the CSS3 Text specification?
I tried both on Chrome and seems to work in exact same way.
Am I correct or I'm missing something? Which one do I have to use?
There is no difference between the two. overflow-wrap
is the same as word-wrap
. As you pointed out, word-wrap
was renamed to overflow-wrap
as this Post shows.