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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/113746537>
Matthieu Dubet
Pull request: https://github.com/WebKit/WebKit/pull/16602
Vitor Roriz
Pull request: https://github.com/WebKit/WebKit/pull/17938
EWS
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)
*** Bug 262316 has been marked as a duplicate of this bug. ***