I have noticed that webkit fails to wrap the text inside <a> links in divs. I have a div of 200px and a link and a paragraph inside, the paragraph text will wrap inside the div (i have setup a border) but the link text goes out of the div borders. See the url for an example. The example works fine in other browsers.
Created attachment 38839 [details] snapshot Here is a snap shot of the bug in action in Safari 4.
Created attachment 38840 [details] snapshot of firefox behaviour here is a snapshot of firefox behaving correctly the same example.
I have added snapshots as attachments. Thanks
Created attachment 48609 [details] Test to see if line is broken at non-space (slash in this case)
Hmm, I don't see any reasons to change the current behavior. As far as I searched, the HTML 4 spec doesn't say that a line can be broken at non-space characters such as '/', except for soft hyphens. http://www.w3.org/TR/html401/struct/text.html#h-9.3.2 I don't see any reasons from the compatibility point of view either. Please see the attached "Test to see if line is broken at non-space". IE 8.0: no line breaks (same as WebKit-based browsers) FF 3.6: line breaks before '/' Opera 10.10: line breaks after '/'. Yuzo