[Webkit-unassigned] [Bug 40883] New: Trailing whitespace when line breaks at collapsed space and the next word contains a soft hyphen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 19 20:43:47 PDT 2010


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

           Summary: Trailing whitespace when line breaks at collapsed
                    space and the next word contains a soft hyphen
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: data:text/html,%3Cdiv%20style=%22width:%20200px;%20bor
                    der-right:%20solid;%20text-align:%20right%22%3EThere%2
                    0is%20a%20soft%20hyphen%20in%20the%20%20wo­rd%20af
                    ter%20the%20break%3C/div%3E
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mitz at webkit.org


In the URL, a trailing whitespace is rendered on the first line. This happens when the line breaks at collapsed space (notice two space characters after “the”) and the next word after the break contains a soft hyphen. This confuses checkMidpoints() because there is an extra pair of midpoints after the line break.

-- 
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