RESOLVED FIXED310945
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
Radar WebKit Bug Importer
Comment 1 2026-03-27 19:18:09 PDT
Vitor Roriz
Comment 2 2026-03-27 19:20:00 PDT
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.