summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/support/font-family-keywords.js
blob: 09bcf85c9fa5ef4f151785cdb5f477eb16040af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// <generic-family> keywords, as specified in
// https://drafts.csswg.org/css-fonts/#generic-family-value
var kGenericFontFamilyKeywords = [
    "serif",
    "sans-serif",
    "cursive",
    "fantasy",
    "monospace",
    "system-ui",
    "emoji",
    "math",
    "fangsong",
    "ui-serif",
    "ui-sans-serif",
    "ui-monospace",
    "ui-rounded",
];

// <family-name> values that had/have web-exposed behavior in some browsers, but
// are not defined in the specification.
var kNonGenericFontFamilyKeywords = [
    "NonGenericFontFamilyName",
    "-webkit-body",
    "-webkit-standard",
    "-webkit-pictograph",
    "BlinkMacSystemFont",
];