[Webkit-unassigned] [Bug 31076] New: [Qt] Odd line wrapping in QtWebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 3 11:55:53 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31076

           Summary: [Qt] Odd line wrapping in QtWebKit
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: qt-info at nokia.com


(See the attached example to reproduce the problem.)

It seems unicode characters for special quotes (“” ‘’ « ») combined with <span>
are considered as a breakable character, leading to some unexpected
linewrapping. It can also break right after accented characters, basically
splitting the line in the middle of a word.


Steps to reproduce:

1) run the attached example

2) resize the window to observe text wrapping in the QWebView

3) use different characters in the word ending, like the quotes mentioned
above.


Expected behaviour:
the whole word is wrapped when needed (e.g "“foobar”." or "foobarée.")

Actual behaviour:
only the last characters are wrapped at first (e.g "”." or "e." )


-Tested against QtWebKit from trunk (gitorious clone, not the svn).
-This same html file works fine in Safari, so it looks like a Qt specific
issue.
-even when <span> is not used, the dot ('.') is sometimes sent to the line
alone, which seems odd as well.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list