Bug 260066

Summary: [CSS] <family-name> should forbid generic family
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebCore Misc.Assignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: gsnedders, ntim, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matthieu Dubet
Reported 2023-08-11 05:28:22 PDT
https://drafts.csswg.org/css-fonts/#family-name-value "Any identifier which could be misinterpreted as a pre-defined keyword in the font-family value definition, or the CSS-wide keywords, is not allowed." We should be extra cautious to forbid usage of unquoted pre-defined keyword (serif, system-ui,...) when parsing a <family-name>
Attachments
Radar WebKit Bug Importer
Comment 1 2023-08-11 05:28:53 PDT
Matthieu Dubet
Comment 2 2023-08-11 05:51:13 PDT
Vitor Roriz
Comment 3 2023-09-19 15:05:17 PDT
EWS
Comment 4 2023-09-20 09:27:20 PDT
Committed 268203@main (f52eb126c71f): <https://commits.webkit.org/268203@main> Reviewed commits have been landed. Closing PR #16602 and removing active labels.
Tim Nguyen (:ntim)
Comment 5 2023-10-06 07:46:37 PDT
*** Bug 262316 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.