[WebKit-devel] [Bug 289182] New: soft hyphen in webkit does not break the line, instead causes content to overlap

A. Nordal andreas_nordal_4 at hotmail.com
Sat Dec 17 11:28:02 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=289182

           Summary: soft hyphen in webkit does not break the line, instead
                    causes content to overlap
           Product: kwebkitpart
           Version: 1.2.0
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: webkit-devel at kde.org
        ReportedBy: andreas_nordal_4 at hotmail.com


Version:           1.2.0 (using KDE 4.7.2) 
OS:                Linux

Using either Konqueror with webkit, Rekonq or Arora, this html is not displayed
correctly when the browser window is narrow:

 <table border="1">
 <tr>
 <td>aaaaaaaaaaaaaa­bbbbbbbbbbbbbb</td>
 <td>something</td>
 </tr>
 </table>

Reproducible: Always

Steps to Reproduce:
Put the above html code into a html file.
Open it with a browser using webkit.
Narrow the browser window until you would expect the line in the left table
cell to break (at the soft hyphen).

Actual Results:  
The line with soft hyphen is not broken. Webkit apparently thinks it has broken
the line, causing the "bbbbbbbbbbbbbb" after the soft hyphen to overlap with
the "something" to the right.

Expected Results:  
The soft hyphen should appear as a hyphen at the end of the "aaaaaaaaaaaaaa",
and "bbbbbbbbbbbbbb" should move to the next line.

Using the unicode character for soft hyphen (rather than the html entity as in
this test case) does not seem to make any difference. I would like both to work
before closing the bug.

Konqueror works fine with KHTML.

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


More information about the WebKit-devel mailing list