[Webkit-unassigned] [Bug 76497] New: Text with remote font (and hardware accelerated) is cut-off.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 17 17:02:05 PST 2012


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

           Summary: Text with remote font (and hardware accelerated) is
                    cut-off.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.7
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kangax at gmail.com


I'm attaching a test case that shows webkit cutting off text with remote font applied to it. It seems like the issue happens when these 3 conditions are satisfied:

1) text uses remote font
2) text (or its ancestor) has certain padding and margin (in this case parent element has negative margin)
3) element rendering is hardware-accelerated (i.e. has "-webkit-transform: translate3d(0, 0, 0);" applied to it)

Removing either one of them makes the issue disappear. Note that you might need to full-reload the page to see the cutoff. I'm guessing that's what makes text rendering happen _before_ font is being downloaded.

This doesn't happen in Firefox (nightly), Opera (next), or Safari (5.1.2; so it almost looks like a regression).

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