[Webkit-unassigned] [Bug 79448] New: REGRESSION: Outlook 2007 doesn't display fonts correctly on emails composed by WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 23 23:02:55 PST 2012


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

           Summary: REGRESSION: Outlook 2007 doesn't display fonts
                    correctly on emails composed by WebKit
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: darin at apple.com, ojan at chromium.org, ayg at aryeh.name,
                    enrica at apple.com


Something in CSS serializer must have changed recently in the last 6 months or so. We now produce single quotation around font family names:
e.g. <font face="'trebuchet ms', sans-serif">something</font>
instead of <font face="trebuchet ms, sans-serif">something</font>
and Outlook 2007 fails to render the latter properly.

A very simple fix is to strip any single quotation that appears in the font family name when creating a font element. Even though font family name could contain a quotation mark in the theory, that shouldn't be a problem in practice.

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