WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
310945
CanvasRenderingContext2DBase: Use FontFamily::isGeneric() for canvas font serialization
https://bugs.webkit.org/show_bug.cgi?id=310945
Summary
CanvasRenderingContext2DBase: Use FontFamily::isGeneric() for canvas font ser...
Vitor Roriz
Reported
2026-03-27 19:18:01 PDT
Now that FontCascadeDescription stores FontFamily structs with FontFamilyKind, we can use isGeneric() to determine whether a font family is a generic keyword instead of string-matching against known CSS keywords via cssValueKeywordID/isGenericFontFamilyKeyword.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-03-27 19:18:09 PDT
<
rdar://problem/173557371
>
Vitor Roriz
Comment 2
2026-03-27 19:20:00 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/61542
EWS
Comment 3
2026-03-27 22:07:35 PDT
Committed
310135@main
(c656cc7ac0ca): <
https://commits.webkit.org/310135@main
> Reviewed commits have been landed. Closing PR #61542 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug