[Webkit-unassigned] [Bug 62111] New: Long text doesn't appear

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 5 19:06:36 PDT 2011


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

           Summary: Long text doesn't appear
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bashi at chromium.org


A long text (more than 65535 characters) without spaces doesn't appear.  The attached file reproduces the problem.

This comes from an overflow of the m_len member variable in InlineTextBox.  It's type is unsigned short, but InlineTextBox::setLen() takes unsigned as the argument, so an overflow will occur when the text length is more than 65535.

We might need to change the type of m_len to unsigned or truncate the text.  Firefox renders a long text without truncation.  Since changing the type of the m_len increases the size of InlineTextBox, I'm not sure which way is better.

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