RESOLVED DUPLICATE of bug 31076 Bug 32019
[Qt] last word inside a tag is divided into two lines if it ends with non-ascii characters
https://bugs.webkit.org/show_bug.cgi?id=32019
Summary [Qt] last word inside a tag is divided into two lines if it ends with non-asc...
eekaikko
Reported 2009-12-01 06:45:31 PST
If a word is the last word inside a tag, it ends with non-ascii utf8 characters and there are no characters after it before the end-tag, the word may be cut into two lines. Draw the window narrower with the test case (it may be necessary to enlarge the font if the browser window can't be narrow enough). This has been confirmed with QWebView and also in Arora browser on Linux and Windows, but couldn't be repeated with KHTML or Safari, i.e. it's probably Qt specific. The test case is below, it's also attached: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <span>doesn't happen: not divided</span> <div>happens: äöäöäöääöå</div> <span>happens: abcdefgäöå</span> <div>doesn't happen: ölööööäå.</div> <div>doesn't happen: not divided</div> <span>happens: äöäöäöääöå</span> <div>happens: abcdefgäöå</div> <span>doesn't happen: ölööööäå.</span> <span>happens? dfabcöbcadf</span> <span>happens? tabcöäbcaa</span> <span>happens? öäbcaadfd</span>
Attachments
testcase (562 bytes, text/html)
2009-12-01 06:52 PST, eekaikko
no flags
eekaikko
Comment 1 2009-12-01 06:52:34 PST
Created attachment 44072 [details] testcase Did the previous attachement come in? Anyways, the text in the original report text was a bit outdated, here is the final one...
Tor Arne Vestbø
Comment 2 2010-03-10 06:38:13 PST
Please follow the QtWebKit bug reporting guidelines when reporting bugs. See http://trac.webkit.org/wiki/QtWebKitBugs Specifically: - The 'QtWebKit' component should only be used for bugs/features in the public QtWebKit API layer, not to signify that the bug is specific to the Qt port of WebKit http://trac.webkit.org/wiki/QtWebKitBugs#Component - Add the keyword 'Qt' to signal that it's a Qt-related bug http://trac.webkit.org/wiki/QtWebKitBugs#Keywords
Kent Hansen
Comment 3 2010-03-11 02:02:05 PST
Reproduced on Linux with 4.6, r55658.
Joe Wild
Comment 4 2011-03-04 14:52:42 PST
https://bugs.webkit.org/show_bug.cgi?id=34470 Bug 34470 - [Qt] Non-ASCII line breaking doesn't work properly (seen at www.mail.ru) https://bugs.webkit.org/show_bug.cgi?id=32019 ? Bug 32019 - [Qt] last word inside a tag is divided into two lines if it ends with non-ascii characters I looked at both these errors and was not able to reproduce either. Neither has been commented on in almost a year. I suspect these were duplicates that have been fixed along the way. Unless someone can verify these are still a problem, I think these should be resolved as WorksForMe.
Benjamin Poulain
Comment 5 2011-03-06 01:56:21 PST
My bet is that has been fixed by Pierre in https://bugs.webkit.org/show_bug.cgi?id=31076 *** This bug has been marked as a duplicate of bug 31076 ***
Note You need to log in before you can comment on or make changes to this bug.