[Webkit-unassigned] [Bug 52360] New: No line break at zero-width spaces (ZWSP) if ZWSP is placed between tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 13 00:57:47 PST 2011


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

           Summary: No line break at zero-width spaces (ZWSP) if ZWSP is
                    placed between tags
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hikingfan at mailbox.hu


Overview:
WebKit doesn't seem to break lines at text nodes with only ZWSPs surrounded by inline elements.

Steps to reproduce:
1. Create a div element (specify a width if you want)
2. Create two spans that will each fit in the div, but not next to each other and contain no spaces.
3. Separate these spans with a ZWSP (​)

Actual result:
No line-break is inserted, they appear in the same line. The text runs out of the box.

Expected result:
The two spans appear in separate lines.

Build Date & Platform:
08 January 2011, Mac OS X 10.6.6

Additional Information:
See the attachment for a small page reproducing the bug.

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