Bug 310945
| Summary: | CanvasRenderingContext2DBase: Use FontFamily::isGeneric() for canvas font serialization | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Vitor Roriz <vitor.roriz> |
| Component: | Text | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | fantasai.bugs, vitor.roriz, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Vitor Roriz
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
<rdar://problem/173557371>
Vitor Roriz
Pull request: https://github.com/WebKit/WebKit/pull/61542
EWS
Committed 310135@main (c656cc7ac0ca): <https://commits.webkit.org/310135@main>
Reviewed commits have been landed. Closing PR #61542 and removing active labels.