RESOLVED DUPLICATE of bug 242822 21677
'content-ads' word is wrapping into two lines under 'Learn about AdSense' section in homepage
https://bugs.webkit.org/show_bug.cgi?id=21677
Summary 'content-ads' word is wrapping into two lines under 'Learn about AdSense' sec...
jasneet
Reported 2008-10-16 15:04:35 PDT
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
Attachments
reduced testcase (1.28 KB, text/html)
2008-10-16 15:06 PDT, jasneet
no flags
jasneet
Comment 1 2008-10-16 15:06:03 PDT
Created attachment 24430 [details] reduced testcase
Mark Rowe (bdash)
Comment 2 2008-10-16 20:31:49 PDT
I believe that it is an em-dash, not a hyphen.
Ahmad Saleem
Comment 3 2022-08-29 04:36:13 PDT
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!
Alexey Proskuryakov
Comment 4 2022-08-29 08:59:18 PDT
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.
Myles C. Maxfield
Comment 5 2022-09-07 21:59:55 PDT
*** This bug has been marked as a duplicate of bug 242822 ***
Note You need to log in before you can comment on or make changes to this bug.