I noticed that the block element wraps around word-wrap: break-word; differently word-wrap: break-word; and then the inline-block element with the same size. Can anyone explain why? I would expect them to act the same way, since both elements correspond to their content, block .
Here is the code:
<span style="word-wrap:break-word; display: inline-block;"> XX-standard-com.longtext.nogoodexperience.howtoresolve_nofix.yyy</span><br/><br/> <span style="word-wrap:break-word; display: block;"> XX-standard-com.longtext.nogoodexperience.howtoresolve_nofix.yyy</span>
And here is a screenshot of the result (you need to resize the browser so that it turns around):

Tested in Chrome, FF and IE11.
Update
I would like to indicate that both elements have the same width when checking in the element inspector.
source share