[Webkit-unassigned] [Bug 260066] New: [CSS] <family-name> should forbid generic family

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 11 05:28:22 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=260066

            Bug ID: 260066
           Summary: [CSS] <family-name> should forbid generic family
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m_dubet at apple.com

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>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230811/2812ecb9/attachment.htm>


More information about the webkit-unassigned mailing list