I Steps: Go to https://www.google.com/adsense/login/en_US/ II Issue: "content-ads" word is wrapping into two lines in 'Learn about AdSense' section III Conclusion: When breaking line, FF wraps the whole compound word to next line, while webkit breaks the compound word, displays the hyphen and subsequence in next line. IV Other Browsers: IE7: not ok FF3: ok V Nightly tested: 37604
Created attachment 24430 [details] reduced testcase
I believe that it is an em-dash, not a hyphen.
I am able to reproduce this bug in Safari Technology Preview 152 and the text box seems to be "justified" like similar to Microsoft Word rather than left side in other browsers (Chrome Canary 107 and Firefox Nightly 106). As a result "content-ads" word is slipping between two lines for Safari while in third line for other browsers. Just wanted to change status to "New" and share updated test results. Thanks!
1. Our line breaking behavior matches Chrome - both have line break opportunities before and after the em dash. So why is the test case rendered differently than in Chrome? It is not actually justified, that's a coincidence. 2. Firefox only has a line break opportunity after the em dash, not before it. That's bug 242822. To be clear, the Google webpage has been redesigned since 2008, and is not affected any more.
*** This bug has been marked as a duplicate of bug 242822 ***