[Webkit-unassigned] [Bug 47371] New: Font family name containing more than one word without quote is not recognized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 7 12:49:57 PDT 2010


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

           Summary: Font family name containing more than one word without
                    quote is not recognized
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: xji at chromium.org


Created an attachment (id=70133)
 --> (https://bugs.webkit.org/attachment.cgi?id=70133)
test case

Load the attached test case.
observe the alerted font name.
Font name with more than one word is recognized when quote is around the name.
If there is no quote around, the font name is not recognized. Computed font is the fallback font (system font when no other fonts specified).

Firefox recognizes both.

Following is from W3C (http://www.w3.org/TR/css3-fonts/#font-family-the-font-family-property):
<family-name>
The name of a font family of choice such as Helvetica or Verdana in the previous example. Font family names containing more than one word should be quoted. If quoting is omitted, whitespace characters before and after the font family name are ignored and any sequence of whitespace characters inside the font name is converted to a single space. Depending upon the font format used, font family names may be case-sensitive.

It is not a *must* to quote font name with multiple words.

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