Bug 250321

Summary: CSS font-face src local does not invalidate invalid CSS-wide keywords
Product: WebKit Reporter: Vitor Roriz <vitor.roriz>
Component: CSSAssignee: Vitor Roriz <vitor.roriz>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Vitor Roriz 2023-01-09 05:48:41 PST
When we parse src for @font-face, CSS-wide keywords are not valid for local(). In case they are the only keywords being input for local, CSSPropertyParserHelpers::concatenateFamilyName will produce a null String, but we won't invalidate the CSSValue for that case.
Comment 1 Radar WebKit Bug Importer 2023-01-09 05:48:53 PST
<rdar://problem/104028095>
Comment 2 Vitor Roriz 2023-01-09 05:57:44 PST
Pull request: https://github.com/WebKit/WebKit/pull/8396
Comment 3 EWS 2023-01-09 18:57:04 PST
Committed 258695@main (1940d518c650): <https://commits.webkit.org/258695@main>

Reviewed commits have been landed. Closing PR #8396 and removing active labels.