Bug 145400

Summary: <font face> doesn't support plus character in font family names.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, darin, mmaxfield
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch none

Description Andreas Kling 2015-05-26 19:43:45 PDT
<rdar://problem/21097484>

<font face> attributes should support font names such as "Myles + Darin"
Comment 1 Andreas Kling 2015-05-26 19:46:16 PDT
Created attachment 253773 [details]
Proposed patch
Comment 2 Darin Adler 2015-05-26 19:52:44 PDT
Comment on attachment 253773 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=253773&action=review

> Source/WebCore/css/CSSParser.cpp:1297
> +        for (auto propertyID : { CSSValueSerif, CSSValueSansSerif, CSSValueCursive, CSSValueFantasy, CSSValueMonospace, CSSValueWebkitBody }) {

Somehow I feel that every single call site that has this list of special family names should have some kind of FIXME in it. This joins a large and seemingly growing family.
Comment 3 WebKit Commit Bot 2015-05-26 21:14:10 PDT
Comment on attachment 253773 [details]
Proposed patch

Clearing flags on attachment: 253773

Committed r184894: <http://trac.webkit.org/changeset/184894>
Comment 4 WebKit Commit Bot 2015-05-26 21:14:15 PDT
All reviewed patches have been landed.  Closing bug.