tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

font-family-keywords.js (784B)


      1 // <generic-family> keywords, as specified in
      2 // https://drafts.csswg.org/css-fonts/#generic-family-value
      3 var kGenericFontFamilyKeywords = [
      4    "serif",
      5    "sans-serif",
      6    "cursive",
      7    "fantasy",
      8    "monospace",
      9    "system-ui",
     10    "math",
     11    "generic(fangsong)",
     12    "generic(kai)",
     13    "generic(khmer-mul)",
     14    "generic(nastaliq)",
     15    "ui-serif",
     16    "ui-sans-serif",
     17    "ui-monospace",
     18    "ui-rounded",
     19 ];
     20 
     21 // <family-name> values that had/have web-exposed behavior in some browsers, but
     22 // are not defined in the specification. They must be treated as <custom-ident>s.
     23 var kNonGenericFontFamilyKeywords = [
     24    "NonGenericFontFamilyName",
     25    "-webkit-body",
     26    "-webkit-standard",
     27    "-webkit-pictograph",
     28    "emoji",
     29    "fangsong",
     30    "BlinkMacSystemFont",
     31 ];