Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

Source of release 0.6.0

0.6.0 / src / web / css / tests_fonts_cases.lucb

#==============================================================================================
#
#   tests_fonts_cases - the CSS font cases (region r41) pinned to the reference build
#
#   DESCRIPTION:
#       Generated (a test vector table) from the output of a local oracle that runs the
#       reference Ladybird build's FontComputer, FontFace, ParsedFontFace, FontFeatureData and
#       FontLoading on the same inputs, with the fonts of tests/libweb/fonts in layout test mode
#       (luce-browser-tools, oracles/luce-browser-engine/css_fonts: oracle.cpp, cases.txt,
#       gen_luce_cases.py). tests_fonts runs each case through the port and compares.
#
#==============================================================================================

## One oracle case: the mode, its arguments and the reference build's printout.
struct TestFontsCase:
    let mode: str
    let first: str
    let second: str
    let expected: str

## Every oracle case, in cases.txt order.
let test_fonts_cases: TestFontsCase[184] = [
    TestFontsCase(mode = "type", first = "stylistic", second = "", expected = "0"),
    TestFontsCase(mode = "type", first = "styleset", second = "", expected = "1"),
    TestFontsCase(mode = "type", first = "character-variant", second = "", expected = "2"),
    TestFontsCase(mode = "type", first = "swash", second = "", expected = "3"),
    TestFontsCase(mode = "type", first = "ornaments", second = "", expected = "4"),
    TestFontsCase(mode = "type", first = "annotation", second = "", expected = "5"),
    TestFontsCase(mode = "type", first = "historical-forms", second = "", expected = "-"),
    TestFontsCase(mode = "type", first = "Stylistic", second = "", expected = "-"),
    TestFontsCase(mode = "type", first = "", second = "", expected = "-"),
    TestFontsCase(mode = "features", first = "", second = "", expected = "clig=1,kern=1,liga=1 | hash 3291504873 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-ligatures: none", second = "", expected = "calt=0,liga=0,hlig=0,clig=0,kern=1,dlig=0 | hash 2331023214 | keys"),
    TestFontsCase(mode = "features", first = "text-rendering: optimizeSpeed", second = "", expected = "calt=0,liga=0,hlig=0,clig=0,kern=0,dlig=0 | hash 1721363364 | keys"),
    TestFontsCase(mode = "features", first = "text-rendering: optimizeSpeed; font-variant-ligatures: common-ligatures", second = "", expected = "clig=1,kern=0,liga=1 | hash 1728950737 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-ligatures: no-common-ligatures discretionary-ligatures no-historical-ligatures contextual", second = "", expected = "calt=1,liga=0,hlig=0,clig=0,kern=1,dlig=1 | hash 520279816 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-ligatures: common-ligatures no-discretionary-ligatures historical-ligatures no-contextual", second = "", expected = "calt=0,liga=1,hlig=1,clig=1,kern=1,dlig=0 | hash 2929908119 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-position: sub", second = "", expected = "subs=1,clig=1,kern=1,liga=1 | hash 3006952119 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-position: super", second = "", expected = "sups=1,clig=1,kern=1,liga=1 | hash 122080358 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-caps: small-caps", second = "", expected = "clig=1,kern=1,liga=1,smcp=1 | hash 1886818557 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-caps: all-small-caps", second = "", expected = "clig=1,c2sc=1,kern=1,liga=1,smcp=1 | hash 1957734988 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-caps: petite-caps", second = "", expected = "clig=1,pcap=1,kern=1,liga=1 | hash 274653646 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-caps: all-petite-caps", second = "", expected = "clig=1,pcap=1,c2pc=1,kern=1,liga=1 | hash 495510676 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-caps: unicase", second = "", expected = "clig=1,unic=1,kern=1,liga=1 | hash 1455974437 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-caps: titling-caps", second = "", expected = "clig=1,titl=1,kern=1,liga=1 | hash 3620953331 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-numeric: oldstyle-nums proportional-nums diagonal-fractions ordinal slashed-zero", second = "", expected = "liga=1,ordn=1,frac=1,clig=1,kern=1,zero=1,onum=1,pnum=1 | hash 3135078502 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-numeric: lining-nums tabular-nums stacked-fractions", second = "", expected = "tnum=1,lnum=1,liga=1,clig=1,kern=1,afrc=1 | hash 2512708889 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-east-asian: jis78 full-width ruby", second = "", expected = "liga=1,ruby=1,clig=1,jp78=1,fwid=1,kern=1 | hash 1657637139 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-east-asian: jis83 proportional-width", second = "", expected = "clig=1,kern=1,liga=1,pwid=1,jp83=1 | hash 2188288507 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-east-asian: jis90", second = "", expected = "clig=1,jp90=1,kern=1,liga=1 | hash 3788578972 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-east-asian: jis04", second = "", expected = "clig=1,kern=1,liga=1,jp04=1 | hash 2369382631 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-east-asian: simplified", second = "", expected = "clig=1,smpl=1,kern=1,liga=1 | hash 1835314642 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-east-asian: traditional", second = "", expected = "clig=1,kern=1,liga=1,trad=1 | hash 2021544063 | keys"),
    TestFontsCase(mode = "features", first = "font-kerning: normal", second = "", expected = "clig=1,kern=1,liga=1 | hash 206614512 | keys"),
    TestFontsCase(mode = "features", first = "font-kerning: none", second = "", expected = "clig=1,kern=0,liga=1 | hash 747606831 | keys"),
    TestFontsCase(mode = "features", first = "font-kerning: auto; text-rendering: optimizeSpeed", second = "", expected = "calt=0,liga=0,hlig=0,clig=0,kern=0,dlig=0 | hash 1721363364 | keys"),
    TestFontsCase(mode = "features", first = "font-feature-settings: \"liga\" 0, \"smcp\", \"ss01\" 3", second = "", expected = "clig=1,kern=1,ss01=3,liga=0,smcp=1 | hash 4099464773 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-caps: small-caps; font-feature-settings: \"smcp\" 0, \"kern\" 2", second = "", expected = "clig=1,kern=2,liga=1,smcp=0 | hash 3945939786 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-alternates: historical-forms", second = "", expected = "clig=1,kern=1,liga=1,hist=1 | hash 115996406 | keys"),
    TestFontsCase(mode = "features", first = "font-variant-alternates: stylistic(foo) swash(bar) ornaments(baz) annotation(qux)", second = "stylistic:foo=2;swash:bar=3;ornaments:baz=4;annotation:qux=5", expected = "salt=2,cswh=3,liga=1,nalt=5,swsh=3,ornm=4,clig=1,kern=1 | hash 1890612018 | keys 3829562398 219530776 2104718050 4077197473"),
    TestFontsCase(mode = "features", first = "font-variant-alternates: styleset(a, b)", second = "styleset:a=1,20,100,0;styleset:b=99", expected = "ss01=1,liga=1,ss20=1,clig=1,ss99=1,kern=1 | hash 3418921433 | keys 575258340 3262429479"),
    TestFontsCase(mode = "features", first = "font-variant-alternates: character-variant(c)", second = "character-variant:c=5,7", expected = "cv05=7,clig=1,kern=1,liga=1 | hash 2482622624 | keys 1159997803"),
    TestFontsCase(mode = "features", first = "font-variant-alternates: character-variant(c)", second = "character-variant:c=12", expected = "clig=1,kern=1,liga=1,cv12=1 | hash 2482622624 | keys 1159997803"),
    TestFontsCase(mode = "features", first = "font-variant-alternates: character-variant(c)", second = "character-variant:c=100,3", expected = "clig=1,kern=1,liga=1 | hash 2482622624 | keys 1159997803"),
    TestFontsCase(mode = "features", first = "font-variant-alternates: stylistic(missing)", second = "stylistic:foo=2", expected = "clig=1,kern=1,liga=1 | hash 1811086265 | keys 3829562398"),
    TestFontsCase(mode = "features", first = "font-variant-alternates: stylistic(foo); font-feature-settings: \"salt\" 9", second = "stylistic:foo=300", expected = "salt=9,clig=1,kern=1,liga=1 | hash 2408202812 | keys 3829562398"),
    TestFontsCase(mode = "format", first = "collection", second = "", expected = "1"),
    TestFontsCase(mode = "format", first = "embedded-opentype", second = "", expected = "0"),
    TestFontsCase(mode = "format", first = "opentype", second = "", expected = "1"),
    TestFontsCase(mode = "format", first = "svg", second = "", expected = "0"),
    TestFontsCase(mode = "format", first = "truetype", second = "", expected = "1"),
    TestFontsCase(mode = "format", first = "woff", second = "", expected = "1"),
    TestFontsCase(mode = "format", first = "woff2", second = "", expected = "1"),
    TestFontsCase(mode = "format", first = "WOFF2", second = "", expected = "1"),
    TestFontsCase(mode = "format", first = "TrueType", second = "", expected = "1"),
    TestFontsCase(mode = "format", first = "otf", second = "", expected = "0"),
    TestFontsCase(mode = "format", first = "", second = "", expected = "0"),
    TestFontsCase(mode = "tech", first = "features-opentype", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "features-aat", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "features-graphite", second = "", expected = "0"),
    TestFontsCase(mode = "tech", first = "variations", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "color-COLRv0", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "color-COLRv1", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "color-SVG", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "color-sbix", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "color-CBDT", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "palettes", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "incremental", second = "", expected = "0"),
    TestFontsCase(mode = "tech", first = "avar2", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "FEATURES-OPENTYPE", second = "", expected = "1"),
    TestFontsCase(mode = "tech", first = "unknown", second = "", expected = "0"),
    TestFontsCase(mode = "tech", first = "", second = "", expected = "0"),
    TestFontsCase(mode = "load", first = "SerenitySans-Regular.ttf", second = "-", expected = "off-thread 0 SerenitySans 400"),
    TestFontsCase(mode = "load", first = "Lato-Bold.ttf", second = "font/ttf", expected = "off-thread 0 Lato 700"),
    TestFontsCase(mode = "load", first = "NotoSansTifinagh-Regular.otf", second = "font/otf", expected = "off-thread 0 Noto Sans Tifinagh 400"),
    TestFontsCase(mode = "load", first = "Lato-Bold.ttf", second = "application/x-font-ttf", expected = "off-thread 0 Lato 700"),
    TestFontsCase(mode = "load", first = "Lato-Bold.ttf", second = "font/woff", expected = "off-thread 0 error Invalid WOFF signature"),
    TestFontsCase(mode = "load", first = "Lato-Bold.ttf", second = "font/woff2", expected = "off-thread 1"),
    TestFontsCase(mode = "load", first = "Lato-Bold.ttf", second = "application/font-woff2", expected = "off-thread 1"),
    TestFontsCase(mode = "load", first = "Lato-Bold.ttf", second = "text/plain", expected = "off-thread 0 error Automatic format detection failed"),
    TestFontsCase(mode = "load", first = "OFL-1.1.txt", second = "-", expected = "off-thread 0 error Automatic format detection failed"),
    TestFontsCase(mode = "load", first = "NOTICE", second = "font/ttf", expected = "off-thread 0 error Failed to load typeface from buffer"),
    TestFontsCase(mode = "fontface", first = "font-family: A", second = "", expected = "valid 0 family A weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: \"Some Font\"; src: url(a.woff2) format(woff2), local(Foo), url(\"b.ttf\") format(\"truetype\") tech(variations, color-COLRv1)", second = "", expected = "valid 1 family Some Font weight 400-400 slope 0 width 100 sources [url(url(\"a.woff2\"))/woff2/ local(Foo)/-/ url(url(\"b.ttf\"))/truetype/11,3] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-weight: bold", second = "", expected = "valid 0 family B weight 700-700 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-weight: 300 600", second = "", expected = "valid 0 family B weight 300-600 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-weight: 700 200", second = "", expected = "valid 0 family B weight 200-700 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-weight: auto; font-style: auto; font-width: auto", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-weight: 450.7", second = "", expected = "valid 0 family B weight 450-450 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-style: italic", second = "", expected = "valid 0 family B weight 400-400 slope 1 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-style: oblique", second = "", expected = "valid 0 family B weight 400-400 slope 2 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-style: oblique 20deg", second = "", expected = "valid 0 family B weight 400-400 slope 2 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-style: normal", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-width: condensed", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 75 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-stretch: 150%", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 150 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; unicode-range: U+0-7F, U+100-17F, U+4??", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-7F U+100-17F U+400-4FF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; ascent-override: 90%; descent-override: 20%; line-gap-override: normal", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent 90 descent 20 line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; ascent-override: calc(50% + 10%)", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent 60 descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-display: swap", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 2 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-display: optional", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 4 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-named-instance: \"Bold Condensed\"", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named Bold Condensed language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-language-override: \"TRK\"", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language TRK features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-feature-settings: \"liga\" 0, \"smcp\", \"ss02\" 4", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features [liga:0,smcp:1,ss02:4] variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-feature-settings: normal", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-variation-settings: \"wght\" 650, \"wdth\" 75.5", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations [wght:650,wdth:75.5]"),
    TestFontsCase(mode = "fontface", first = "font-family: B; font-variation-settings: normal", second = "", expected = "valid 0 family B weight 400-400 slope 0 width 100 sources [] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "fontface", first = "src: url(x.ttf)", second = "", expected = "valid 0 family  weight 400-400 slope 0 width 100 sources [url(url(\"x.ttf\"))/-/] ranges [U+0-10FFFF] ascent - descent - line-gap - display 0 named - language - features - variations -"),
    TestFontsCase(mode = "facedesc", first = "family", second = "Foo", expected = "Foo | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "family", second = "\"Some Font\"", expected = "Some Font | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "family", second = "serif", expected = "parse error"),
    TestFontsCase(mode = "facedesc", first = "style", second = "normal", expected = "normal | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "style", second = "italic", expected = "italic | weight 400-400 slope 1 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "style", second = "oblique", expected = "oblique | weight 400-400 slope 2 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "style", second = "oblique 30deg", expected = "oblique 30deg | weight 400-400 slope 2 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "style", second = "oblique 10deg 20deg", expected = "parse error"),
    TestFontsCase(mode = "facedesc", first = "style", second = "auto", expected = "auto | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "weight", second = "normal", expected = "normal | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "weight", second = "bold", expected = "bold | weight 700-700 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "weight", second = "100", expected = "100 | weight 100-100 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "weight", second = "200 800", expected = "200 800 | weight 200-800 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "weight", second = "900 100", expected = "900 100 | weight 100-900 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "weight", second = "auto", expected = "auto | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "weight", second = "bolder", expected = "parse error"),
    TestFontsCase(mode = "facedesc", first = "stretch", second = "normal", expected = "normal | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "stretch", second = "condensed", expected = "condensed | weight 400-400 slope 0 width 75 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "stretch", second = "ultra-expanded", expected = "ultra-expanded | weight 400-400 slope 0 width 200 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "stretch", second = "75%", expected = "75% | weight 400-400 slope 0 width 75 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "stretch", second = "auto", expected = "auto | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "unicode-range", second = "U+0-10FFFF", expected = "U+0-10FFFF | weight 400-400 slope 0 width 100 ranges 1"),
    TestFontsCase(mode = "facedesc", first = "unicode-range", second = "U+0-7F, U+A0-FF", expected = "U+0-7F, U+A0-FF | weight 400-400 slope 0 width 100 ranges 2"),
    TestFontsCase(mode = "facedesc", first = "unicode-range", second = "U+1F600", expected = "U+1F600 | weight 400-400 slope 0 width 100 ranges 1"),
    TestFontsCase(mode = "facedesc", first = "feature-settings", second = "normal", expected = "normal | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "feature-settings", second = "\"liga\" 0, \"kern\"", expected = "\"liga\" 0, \"kern\" | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "variation-settings", second = "\"wght\" 400", expected = "\"wght\" 400 | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "display", second = "fallback", expected = "fallback | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "ascent-override", second = "80%", expected = "80% | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "descent-override", second = "normal", expected = "normal | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facedesc", first = "line-gap-override", second = "5%", expected = "5% | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facesetter", first = "family", second = "Foo", expected = "Foo | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facesetter", first = "family", second = "1px", expected = "exception"),
    TestFontsCase(mode = "facesetter", first = "style", second = "sideways", expected = "exception"),
    TestFontsCase(mode = "facesetter", first = "weight", second = "0", expected = "exception"),
    TestFontsCase(mode = "facesetter", first = "weight", second = "bold", expected = "bold | weight 700-700 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facesetter", first = "stretch", second = "wide", expected = "exception"),
    TestFontsCase(mode = "facesetter", first = "unicode-range", second = "nonsense", expected = "exception"),
    TestFontsCase(mode = "facesetter", first = "display", second = "swap", expected = "swap | weight 400-400 slope 0 width 100 ranges 0"),
    TestFontsCase(mode = "facesetter", first = "display", second = "fast", expected = "exception"),
    TestFontsCase(mode = "facesetter", first = "ascent-override", second = "-5%", expected = "exception"),
    TestFontsCase(mode = "match", first = "", second = "", expected = "[SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: serif", second = "", expected = "[SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: monospace; font-size: 13px", second = "", expected = "[SerenitySans/0/5/9.75<opsz=13,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/9.75<opsz=13,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/9.75<opsz=13,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: sans-serif, cursive, fantasy, ui-serif, ui-sans-serif, ui-monospace, ui-rounded, system-ui, math", second = "", expected = "[SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: NoSuchFont", second = "", expected = "[SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Lato", second = "", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: lato, serif", second = "", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Lato; font-weight: 300", second = "", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=300>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=100,wght=300>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=300>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: \"Noto Sans Tifinagh\", SerenitySans; font-size: 20px", second = "", expected = "[Noto Sans Tifinagh/0/5/15<opsz=20,wdth=100,wght=400>[clig=1,kern=1,liga=1] SerenitySans/0/5/15<opsz=20,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/15<opsz=20,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/15<opsz=20,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Lato; font-style: italic; font-width: condensed", second = "", expected = "[Lato/0/5/12<opsz=16,wdth=75,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=75,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=75,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Noto Emoji", second = "", expected = "[Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test", second = "Test|400|400|0|100|Lato-Bold.ttf", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 700", second = "Test|400|400|0|100|Lato-Bold.ttf", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 700", second = "Test|400|400|0|100|Lato-Bold.ttf;Test|700|700|0|100|NotoSansTifinagh-Regular.otf", expected = "[Noto Sans Tifinagh/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 450", second = "Test|100|100|0|100|SerenitySans-Regular.ttf;Test|300|300|0|100|Lato-Bold.ttf;Test|500|500|0|100|NotoSansTifinagh-Regular.otf;Test|900|900|0|100|NotoEmoji.ttf", expected = "[Noto Sans Tifinagh/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 450", second = "Test|100|100|0|100|SerenitySans-Regular.ttf;Test|300|300|0|100|Lato-Bold.ttf;Test|600|600|0|100|NotoSansTifinagh-Regular.otf;Test|900|900|0|100|NotoEmoji.ttf", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 450", second = "Test|100|100|0|100|SerenitySans-Regular.ttf;Test|300|300|0|100|Lato-Bold.ttf", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 450", second = "Test|600|600|0|100|NotoSansTifinagh-Regular.otf;Test|900|900|0|100|NotoEmoji.ttf", expected = "[Noto Sans Tifinagh/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=450>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 200", second = "Test|100|100|0|100|SerenitySans-Regular.ttf;Test|300|300|0|100|Lato-Bold.ttf;Test|500|500|0|100|NotoSansTifinagh-Regular.otf;Test|900|900|0|100|NotoEmoji.ttf", expected = "[SerenitySans/0/5/12<opsz=16,wdth=100,wght=200>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=200>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=200>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 200", second = "Test|300|300|0|100|Lato-Bold.ttf;Test|500|500|0|100|NotoSansTifinagh-Regular.otf;Test|900|900|0|100|NotoEmoji.ttf", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=200>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=200>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=200>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 800", second = "Test|100|100|0|100|SerenitySans-Regular.ttf;Test|300|300|0|100|Lato-Bold.ttf;Test|500|500|0|100|NotoSansTifinagh-Regular.otf;Test|900|900|0|100|NotoEmoji.ttf", expected = "[Noto Emoji/0/5/12<opsz=16,wdth=100,wght=800>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=800>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=800>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 800", second = "Test|100|100|0|100|SerenitySans-Regular.ttf;Test|300|300|0|100|Lato-Bold.ttf;Test|500|500|0|100|NotoSansTifinagh-Regular.otf", expected = "[Noto Sans Tifinagh/0/5/12<opsz=16,wdth=100,wght=800>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=800>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=800>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 600", second = "Test|100|300|0|100|SerenitySans-Regular.ttf;Test|500|700|0|100|Lato-Bold.ttf;Test|650|900|0|100|NotoSansTifinagh-Regular.otf", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=600>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=600>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=600>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 350", second = "Test|300|300|0|100|SerenitySans-Regular.ttf;Test|300|300|0|100|Lato-Bold.ttf;Test|400|400|0|100|NotoSansTifinagh-Regular.otf", expected = "[SerenitySans/0/5/12<opsz=16,wdth=100,wght=350>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Lato/0/5/12<opsz=16,wdth=100,wght=350>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=350>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=350>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-style: italic", second = "Test|400|400|0|100|SerenitySans-Regular.ttf;Test|400|400|1|100|Lato-Bold.ttf", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-style: oblique", second = "Test|400|400|0|100|SerenitySans-Regular.ttf;Test|400|400|1|100|Lato-Bold.ttf", expected = "[SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-style: italic", second = "Test|400|400|0|100|SerenitySans-Regular.ttf;Test|700|700|1|100|Lato-Bold.ttf", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-width: condensed", second = "Test|400|400|0|100|SerenitySans-Regular.ttf;Test|400|400|0|75|Lato-Bold.ttf", expected = "[Lato/0/5/12<opsz=16,wdth=75,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=75,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=75,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-width: 80%", second = "Test|400|400|0|100|SerenitySans-Regular.ttf;Test|400|400|0|75|Lato-Bold.ttf;Test|400|400|0|87|NotoSansTifinagh-Regular.otf", expected = "[Lato/0/5/12<opsz=16,wdth=80,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=80,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=80,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-width: expanded", second = "Test|400|400|0|100|SerenitySans-Regular.ttf;Test|400|400|0|75|Lato-Bold.ttf", expected = "[SerenitySans/0/5/12<opsz=16,wdth=125,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=125,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=125,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: test, Lato", second = "TEST|400|400|0|100|NotoSansTifinagh-Regular.otf", expected = "[Noto Sans Tifinagh/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Lato/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test", second = "Test|400|400|0|100|SerenitySans-Regular.ttf|U+0-7F;Test|400|400|0|100|Lato-Bold.ttf|U+80-FF,U+400-4FF", expected = "[SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+0-7F:1} Lato/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+80-4FF:2} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 300", second = "Test|400|400|0|100|SerenitySans-Regular.ttf|U+0-7F;Test|400|400|0|100|Lato-Bold.ttf|U+80-FF", expected = "[SerenitySans/0/5/12<opsz=16,wdth=100,wght=300>[clig=1,kern=1,liga=1]{U+0-7F:1} Lato/0/5/12<opsz=16,wdth=100,wght=300>[clig=1,kern=1,liga=1]{U+80-FF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=300>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=300>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test, serif; font-size: 10px", second = "Test|400|400|0|100|Lato-Bold.ttf||Test|400|400|0|100|NotoSansTifinagh-Regular.otf", expected = "[Lato/0/5/7.5<opsz=10,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} SerenitySans/0/5/7.5<opsz=10,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/7.5<opsz=10,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/7.5<opsz=10,wdth=100,wght=400>[clig=1,kern=1,liga=1] >> [Lato/0/5/7.5<opsz=10,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Sans Tifinagh/0/5/7.5<opsz=10,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} SerenitySans/0/5/7.5<opsz=10,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/7.5<opsz=10,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/7.5<opsz=10,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-weight: 700", second = "Test|400|400|0|100|Lato-Bold.ttf||Test|700|700|0|100|NotoSansTifinagh-Regular.otf", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1] >> [Noto Sans Tifinagh/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=700>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Other", second = "Test|400|400|0|100|Lato-Bold.ttf||Other|400|400|0|100|NotoSansTifinagh-Regular.otf", expected = "[SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1] >> [Noto Sans Tifinagh/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=1,liga=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-variant-caps: small-caps; font-feature-settings: \"kern\" 0", second = "Test|400|400|0|100|Lato-Bold.ttf", expected = "[Lato/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=0,liga=1,smcp=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=0,liga=1,smcp=1]] pending 0 last SerenitySans/0/5/12<opsz=16,wdth=100,wght=400>[clig=1,kern=0,liga=1,smcp=1]"),
    TestFontsCase(mode = "match", first = "font-family: Test; font-optical-sizing: none; font-variation-settings: \"wght\" 500, \"abcd\" 1", second = "Test|400|400|0|100|Lato-Bold.ttf", expected = "[Lato/0/5/12<abcd=1,wdth=100,wght=500>[clig=1,kern=1,liga=1]{U+0-10FFFF:1} Noto Emoji/0/5/12<abcd=1,wdth=100,wght=500>[clig=1,kern=1,liga=1]] pending 0 last SerenitySans/0/5/12<abcd=1,wdth=100,wght=500>[clig=1,kern=1,liga=1]"),
]