diff --git a/Libraries/LibWeb/CSS/Parser/PropertyParsing.cpp b/Libraries/LibWeb/CSS/Parser/PropertyParsing.cpp index c0d94107193..0b797a613f5 100644 --- a/Libraries/LibWeb/CSS/Parser/PropertyParsing.cpp +++ b/Libraries/LibWeb/CSS/Parser/PropertyParsing.cpp @@ -2451,7 +2451,6 @@ RefPtr Parser::parse_font_value(TokenStream PropertyID::FontFamily, PropertyID::FontSize, PropertyID::FontWidth, - // FIXME: PropertyID::FontStretch PropertyID::FontStyle, PropertyID::FontVariant, PropertyID::FontWeight, @@ -2463,13 +2462,6 @@ RefPtr Parser::parse_font_value(TokenStream PropertyID::FontLanguageOverride, // FIXME: PropertyID::FontOpticalSizing, // FIXME: PropertyID::FontSizeAdjust, - PropertyID::FontVariantAlternates, - PropertyID::FontVariantCaps, - PropertyID::FontVariantEastAsian, - PropertyID::FontVariantEmoji, - PropertyID::FontVariantLigatures, - PropertyID::FontVariantNumeric, - PropertyID::FontVariantPosition, PropertyID::FontVariationSettings, }, { @@ -2477,7 +2469,6 @@ RefPtr Parser::parse_font_value(TokenStream font_families.release_nonnull(), font_size.release_nonnull(), font_width.release_nonnull(), - // FIXME: font-stretch font_style.release_nonnull(), font_variant.release_nonnull(), font_weight.release_nonnull(), @@ -2489,13 +2480,6 @@ RefPtr Parser::parse_font_value(TokenStream initial_value, // font-language-override // FIXME: font-optical-sizing, // FIXME: font-size-adjust, - initial_value, // font-variant-alternates - initial_value, // font-variant-caps - initial_value, // font-variant-east-asian - initial_value, // font-variant-emoji - initial_value, // font-variant-ligatures - initial_value, // font-variant-numeric - initial_value, // font-variant-position initial_value, // font-variation-settings }); } diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-computed.txt index 6f6902d7c3b..18db5864058 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-computed.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-computed.txt @@ -2,8 +2,8 @@ Harness status: OK Found 315 tests -119 Pass -196 Fail +278 Pass +37 Fail Pass caption should be a supported system font. Pass icon should be a supported system font. Pass menu should be a supported system font. @@ -16,64 +16,64 @@ Pass Property font value 'normal normal xx-large/1.2 cursive' Pass Property font value 'normal normal normal larger/calc(120% + 1.2em) fantasy' Pass Property font value 'normal normal normal normal smaller monospace' Pass Property font value 'normal normal normal italic 10px/normal Menu' -Fail Property font value 'normal normal normal small-caps 20%/1.2 "Non-Generic Example Family Name"' +Pass Property font value 'normal normal normal small-caps 20%/1.2 "Non-Generic Example Family Name"' Pass Property font value 'normal normal normal bold calc(30% - 40px)/calc(120% + 1.2em) serif' Pass Property font value 'normal normal normal ultra-condensed xx-small sans-serif' Pass Property font value 'normal normal italic medium/normal cursive' Pass Property font value 'normal normal italic normal xx-large/1.2 fantasy' -Fail Property font value 'normal normal italic small-caps larger/calc(120% + 1.2em) monospace' +Pass Property font value 'normal normal italic small-caps larger/calc(120% + 1.2em) monospace' Pass Property font value 'normal normal italic bolder smaller Menu' Pass Property font value 'normal normal italic extra-condensed 10px/normal "Non-Generic Example Family Name"' -Fail Property font value 'normal normal small-caps 20%/1.2 serif' -Fail Property font value 'normal normal small-caps normal calc(30% - 40px)/calc(120% + 1.2em) sans-serif' -Fail Property font value 'normal normal small-caps italic xx-small cursive' +Pass Property font value 'normal normal small-caps 20%/1.2 serif' +Pass Property font value 'normal normal small-caps normal calc(30% - 40px)/calc(120% + 1.2em) sans-serif' +Pass Property font value 'normal normal small-caps italic xx-small cursive' Fail Property font value 'normal normal small-caps lighter medium/normal fantasy' -Fail Property font value 'normal normal small-caps condensed xx-large/1.2 monospace' +Pass Property font value 'normal normal small-caps condensed xx-large/1.2 monospace' Pass Property font value 'normal normal 100 larger/calc(120% + 1.2em) Menu' Pass Property font value 'normal normal 900 normal smaller "Non-Generic Example Family Name"' Pass Property font value 'normal normal bold italic 10px/normal serif' -Fail Property font value 'normal normal bolder small-caps 20%/1.2 sans-serif' +Pass Property font value 'normal normal bolder small-caps 20%/1.2 sans-serif' Fail Property font value 'normal normal lighter semi-condensed calc(30% - 40px)/calc(120% + 1.2em) cursive' Pass Property font value 'normal normal semi-expanded xx-small fantasy' Pass Property font value 'normal normal expanded normal medium/normal monospace' Pass Property font value 'normal normal extra-expanded italic xx-large/1.2 Menu' -Fail Property font value 'normal normal ultra-expanded small-caps larger/calc(120% + 1.2em) "Non-Generic Example Family Name"' +Pass Property font value 'normal normal ultra-expanded small-caps larger/calc(120% + 1.2em) "Non-Generic Example Family Name"' Pass Property font value 'normal normal ultra-condensed 100 smaller serif' Pass Property font value 'normal italic 10px/normal sans-serif' Pass Property font value 'normal italic normal 20%/1.2 cursive' Pass Property font value 'normal italic normal normal calc(30% - 40px)/calc(120% + 1.2em) fantasy' -Fail Property font value 'normal italic normal small-caps xx-small monospace' +Pass Property font value 'normal italic normal small-caps xx-small monospace' Pass Property font value 'normal italic normal 900 medium/normal Menu' Pass Property font value 'normal italic normal extra-condensed xx-large/1.2 "Non-Generic Example Family Name"' -Fail Property font value 'normal italic small-caps larger/calc(120% + 1.2em) serif' -Fail Property font value 'normal italic small-caps normal smaller sans-serif' -Fail Property font value 'normal italic small-caps bold 10px/normal cursive' -Fail Property font value 'normal italic small-caps condensed 20%/1.2 fantasy' +Pass Property font value 'normal italic small-caps larger/calc(120% + 1.2em) serif' +Pass Property font value 'normal italic small-caps normal smaller sans-serif' +Pass Property font value 'normal italic small-caps bold 10px/normal cursive' +Pass Property font value 'normal italic small-caps condensed 20%/1.2 fantasy' Pass Property font value 'normal italic bolder calc(30% - 40px)/calc(120% + 1.2em) monospace' Fail Property font value 'normal italic lighter normal xx-small Menu' -Fail Property font value 'normal italic 100 small-caps medium/normal "Non-Generic Example Family Name"' +Pass Property font value 'normal italic 100 small-caps medium/normal "Non-Generic Example Family Name"' Pass Property font value 'normal italic 900 semi-condensed xx-large/1.2 serif' Pass Property font value 'normal italic semi-expanded larger/calc(120% + 1.2em) sans-serif' Pass Property font value 'normal italic expanded normal smaller cursive' -Fail Property font value 'normal italic extra-expanded small-caps 10px/normal fantasy' +Pass Property font value 'normal italic extra-expanded small-caps 10px/normal fantasy' Pass Property font value 'normal italic ultra-expanded bold 20%/1.2 monospace' -Fail Property font value 'normal small-caps calc(30% - 40px)/calc(120% + 1.2em) Menu' -Fail Property font value 'normal small-caps normal xx-small "Non-Generic Example Family Name"' -Fail Property font value 'normal small-caps normal normal medium/normal serif' -Fail Property font value 'normal small-caps normal italic xx-large/1.2 sans-serif' -Fail Property font value 'normal small-caps normal bolder larger/calc(120% + 1.2em) cursive' -Fail Property font value 'normal small-caps normal ultra-condensed smaller fantasy' -Fail Property font value 'normal small-caps italic 10px/normal monospace' -Fail Property font value 'normal small-caps italic normal 20%/1.2 Menu' +Pass Property font value 'normal small-caps calc(30% - 40px)/calc(120% + 1.2em) Menu' +Pass Property font value 'normal small-caps normal xx-small "Non-Generic Example Family Name"' +Pass Property font value 'normal small-caps normal normal medium/normal serif' +Pass Property font value 'normal small-caps normal italic xx-large/1.2 sans-serif' +Pass Property font value 'normal small-caps normal bolder larger/calc(120% + 1.2em) cursive' +Pass Property font value 'normal small-caps normal ultra-condensed smaller fantasy' +Pass Property font value 'normal small-caps italic 10px/normal monospace' +Pass Property font value 'normal small-caps italic normal 20%/1.2 Menu' Fail Property font value 'normal small-caps italic lighter calc(30% - 40px)/calc(120% + 1.2em) "Non-Generic Example Family Name"' -Fail Property font value 'normal small-caps italic extra-condensed xx-small serif' -Fail Property font value 'normal small-caps 100 medium/normal sans-serif' -Fail Property font value 'normal small-caps 900 normal xx-large/1.2 cursive' -Fail Property font value 'normal small-caps bold italic larger/calc(120% + 1.2em) fantasy' -Fail Property font value 'normal small-caps bolder condensed smaller monospace' -Fail Property font value 'normal small-caps semi-condensed 10px/normal Menu' -Fail Property font value 'normal small-caps semi-expanded normal 20%/1.2 "Non-Generic Example Family Name"' -Fail Property font value 'normal small-caps expanded italic calc(30% - 40px)/calc(120% + 1.2em) serif' +Pass Property font value 'normal small-caps italic extra-condensed xx-small serif' +Pass Property font value 'normal small-caps 100 medium/normal sans-serif' +Pass Property font value 'normal small-caps 900 normal xx-large/1.2 cursive' +Pass Property font value 'normal small-caps bold italic larger/calc(120% + 1.2em) fantasy' +Pass Property font value 'normal small-caps bolder condensed smaller monospace' +Pass Property font value 'normal small-caps semi-condensed 10px/normal Menu' +Pass Property font value 'normal small-caps semi-expanded normal 20%/1.2 "Non-Generic Example Family Name"' +Pass Property font value 'normal small-caps expanded italic calc(30% - 40px)/calc(120% + 1.2em) serif' Fail Property font value 'normal small-caps extra-expanded lighter xx-small sans-serif' Pass Property font value 'normal 100 medium/normal cursive' Pass Property font value 'normal 900 normal xx-large/1.2 fantasy' @@ -83,30 +83,30 @@ Fail Property font value 'normal lighter normal small-caps 10px/normal "Non-Gene Pass Property font value 'normal 100 normal ultra-expanded 20%/1.2 serif' Pass Property font value 'normal 900 italic calc(30% - 40px)/calc(120% + 1.2em) sans-serif' Pass Property font value 'normal bold italic normal xx-small cursive' -Fail Property font value 'normal bolder italic small-caps medium/normal fantasy' +Pass Property font value 'normal bolder italic small-caps medium/normal fantasy' Fail Property font value 'normal lighter italic ultra-condensed xx-large/1.2 monospace' -Fail Property font value 'normal 100 small-caps larger/calc(120% + 1.2em) Menu' -Fail Property font value 'normal 900 small-caps normal smaller "Non-Generic Example Family Name"' -Fail Property font value 'normal bold small-caps italic 10px/normal serif' -Fail Property font value 'normal bolder small-caps extra-condensed 20%/1.2 sans-serif' +Pass Property font value 'normal 100 small-caps larger/calc(120% + 1.2em) Menu' +Pass Property font value 'normal 900 small-caps normal smaller "Non-Generic Example Family Name"' +Pass Property font value 'normal bold small-caps italic 10px/normal serif' +Pass Property font value 'normal bolder small-caps extra-condensed 20%/1.2 sans-serif' Fail Property font value 'normal lighter condensed calc(30% - 40px)/calc(120% + 1.2em) cursive' Pass Property font value 'normal 100 semi-condensed normal xx-small fantasy' Pass Property font value 'normal 900 semi-expanded italic medium/normal monospace' -Fail Property font value 'normal bold expanded small-caps xx-large/1.2 Menu' +Pass Property font value 'normal bold expanded small-caps xx-large/1.2 Menu' Pass Property font value 'normal extra-expanded larger/calc(120% + 1.2em) "Non-Generic Example Family Name"' Pass Property font value 'normal ultra-expanded normal smaller serif' Pass Property font value 'normal ultra-condensed normal normal 10px/normal sans-serif' Pass Property font value 'normal extra-condensed normal italic 20%/1.2 cursive' -Fail Property font value 'normal condensed normal small-caps calc(30% - 40px)/calc(120% + 1.2em) fantasy' +Pass Property font value 'normal condensed normal small-caps calc(30% - 40px)/calc(120% + 1.2em) fantasy' Pass Property font value 'normal semi-condensed normal bolder xx-small monospace' Pass Property font value 'normal semi-expanded italic medium/normal Menu' Pass Property font value 'normal expanded italic normal xx-large/1.2 "Non-Generic Example Family Name"' -Fail Property font value 'normal extra-expanded italic small-caps larger/calc(120% + 1.2em) serif' +Pass Property font value 'normal extra-expanded italic small-caps larger/calc(120% + 1.2em) serif' Fail Property font value 'normal ultra-expanded italic lighter smaller sans-serif' -Fail Property font value 'normal ultra-condensed small-caps 10px/normal cursive' -Fail Property font value 'normal extra-condensed small-caps normal 20%/1.2 fantasy' -Fail Property font value 'normal condensed small-caps italic calc(30% - 40px)/calc(120% + 1.2em) monospace' -Fail Property font value 'normal semi-condensed small-caps 100 xx-small Menu' +Pass Property font value 'normal ultra-condensed small-caps 10px/normal cursive' +Pass Property font value 'normal extra-condensed small-caps normal 20%/1.2 fantasy' +Pass Property font value 'normal condensed small-caps italic calc(30% - 40px)/calc(120% + 1.2em) monospace' +Pass Property font value 'normal semi-condensed small-caps 100 xx-small Menu' Pass Property font value 'normal semi-expanded 900 medium/normal "Non-Generic Example Family Name"' Pass Property font value 'normal expanded bold normal xx-large/1.2 serif' Pass Property font value 'normal extra-expanded bolder italic larger/calc(120% + 1.2em) sans-serif' @@ -115,121 +115,121 @@ Pass Property font value 'italic 10px/normal fantasy' Pass Property font value 'italic normal 20%/1.2 monospace' Pass Property font value 'italic normal normal calc(30% - 40px)/calc(120% + 1.2em) Menu' Pass Property font value 'italic normal normal normal xx-small "Non-Generic Example Family Name"' -Fail Property font value 'italic normal normal small-caps medium/normal serif' +Pass Property font value 'italic normal normal small-caps medium/normal serif' Pass Property font value 'italic normal normal 100 xx-large/1.2 sans-serif' Pass Property font value 'italic normal normal ultra-condensed larger/calc(120% + 1.2em) cursive' -Fail Property font value 'italic normal small-caps smaller fantasy' -Fail Property font value 'italic normal small-caps normal 10px/normal monospace' -Fail Property font value 'italic normal small-caps 900 20%/1.2 Menu' -Fail Property font value 'italic normal small-caps extra-condensed calc(30% - 40px)/calc(120% + 1.2em) "Non-Generic Example Family Name"' +Pass Property font value 'italic normal small-caps smaller fantasy' +Pass Property font value 'italic normal small-caps normal 10px/normal monospace' +Pass Property font value 'italic normal small-caps 900 20%/1.2 Menu' +Pass Property font value 'italic normal small-caps extra-condensed calc(30% - 40px)/calc(120% + 1.2em) "Non-Generic Example Family Name"' Pass Property font value 'italic normal bold xx-small serif' Pass Property font value 'italic normal bolder normal medium/normal sans-serif' Fail Property font value 'italic normal lighter small-caps xx-large/1.2 cursive' Pass Property font value 'italic normal 100 condensed larger/calc(120% + 1.2em) fantasy' Pass Property font value 'italic normal semi-condensed smaller monospace' Pass Property font value 'italic normal semi-expanded normal 10px/normal Menu' -Fail Property font value 'italic normal expanded small-caps 20%/1.2 "Non-Generic Example Family Name"' +Pass Property font value 'italic normal expanded small-caps 20%/1.2 "Non-Generic Example Family Name"' Pass Property font value 'italic normal extra-expanded 900 calc(30% - 40px)/calc(120% + 1.2em) serif' -Fail Property font value 'italic small-caps xx-small sans-serif' -Fail Property font value 'italic small-caps normal medium/normal cursive' -Fail Property font value 'italic small-caps normal normal xx-large/1.2 fantasy' -Fail Property font value 'italic small-caps normal bold larger/calc(120% + 1.2em) monospace' -Fail Property font value 'italic small-caps normal ultra-expanded smaller Menu' -Fail Property font value 'italic small-caps bolder 10px/normal "Non-Generic Example Family Name"' +Pass Property font value 'italic small-caps xx-small sans-serif' +Pass Property font value 'italic small-caps normal medium/normal cursive' +Pass Property font value 'italic small-caps normal normal xx-large/1.2 fantasy' +Pass Property font value 'italic small-caps normal bold larger/calc(120% + 1.2em) monospace' +Pass Property font value 'italic small-caps normal ultra-expanded smaller Menu' +Pass Property font value 'italic small-caps bolder 10px/normal "Non-Generic Example Family Name"' Fail Property font value 'italic small-caps lighter normal 20%/1.2 serif' -Fail Property font value 'italic small-caps 100 ultra-condensed calc(30% - 40px)/calc(120% + 1.2em) sans-serif' -Fail Property font value 'italic small-caps extra-condensed xx-small cursive' -Fail Property font value 'italic small-caps condensed normal medium/normal fantasy' -Fail Property font value 'italic small-caps semi-condensed 900 xx-large/1.2 monospace' +Pass Property font value 'italic small-caps 100 ultra-condensed calc(30% - 40px)/calc(120% + 1.2em) sans-serif' +Pass Property font value 'italic small-caps extra-condensed xx-small cursive' +Pass Property font value 'italic small-caps condensed normal medium/normal fantasy' +Pass Property font value 'italic small-caps semi-condensed 900 xx-large/1.2 monospace' Pass Property font value 'italic bold larger/calc(120% + 1.2em) Menu' Pass Property font value 'italic bolder normal smaller "Non-Generic Example Family Name"' Fail Property font value 'italic lighter normal normal 10px/normal serif' -Fail Property font value 'italic 100 normal small-caps 20%/1.2 sans-serif' +Pass Property font value 'italic 100 normal small-caps 20%/1.2 sans-serif' Pass Property font value 'italic 900 normal semi-expanded calc(30% - 40px)/calc(120% + 1.2em) cursive' -Fail Property font value 'italic bold small-caps xx-small fantasy' -Fail Property font value 'italic bolder small-caps normal medium/normal monospace' +Pass Property font value 'italic bold small-caps xx-small fantasy' +Pass Property font value 'italic bolder small-caps normal medium/normal monospace' Fail Property font value 'italic lighter small-caps expanded xx-large/1.2 Menu' Pass Property font value 'italic 100 extra-expanded larger/calc(120% + 1.2em) "Non-Generic Example Family Name"' Pass Property font value 'italic 900 ultra-expanded normal smaller serif' -Fail Property font value 'italic bold ultra-condensed small-caps 10px/normal sans-serif' +Pass Property font value 'italic bold ultra-condensed small-caps 10px/normal sans-serif' Pass Property font value 'italic extra-condensed 20%/1.2 cursive' Pass Property font value 'italic condensed normal calc(30% - 40px)/calc(120% + 1.2em) fantasy' Pass Property font value 'italic semi-condensed normal normal xx-small monospace' -Fail Property font value 'italic semi-expanded normal small-caps medium/normal Menu' +Pass Property font value 'italic semi-expanded normal small-caps medium/normal Menu' Pass Property font value 'italic expanded normal bolder xx-large/1.2 "Non-Generic Example Family Name"' -Fail Property font value 'italic extra-expanded small-caps larger/calc(120% + 1.2em) serif' -Fail Property font value 'italic ultra-expanded small-caps normal smaller sans-serif' +Pass Property font value 'italic extra-expanded small-caps larger/calc(120% + 1.2em) serif' +Pass Property font value 'italic ultra-expanded small-caps normal smaller sans-serif' Fail Property font value 'italic ultra-condensed small-caps lighter 10px/normal cursive' Pass Property font value 'italic extra-condensed 100 20%/1.2 fantasy' Pass Property font value 'italic condensed 900 normal calc(30% - 40px)/calc(120% + 1.2em) monospace' -Fail Property font value 'italic semi-condensed bold small-caps xx-small Menu' -Fail Property font value 'small-caps medium/normal "Non-Generic Example Family Name"' -Fail Property font value 'small-caps normal xx-large/1.2 serif' -Fail Property font value 'small-caps normal normal larger/calc(120% + 1.2em) sans-serif' -Fail Property font value 'small-caps normal normal normal smaller cursive' -Fail Property font value 'small-caps normal normal italic 10px/normal fantasy' -Fail Property font value 'small-caps normal normal bolder 20%/1.2 monospace' -Fail Property font value 'small-caps normal normal semi-expanded calc(30% - 40px)/calc(120% + 1.2em) Menu' -Fail Property font value 'small-caps normal italic xx-small "Non-Generic Example Family Name"' -Fail Property font value 'small-caps normal italic normal medium/normal serif' +Pass Property font value 'italic semi-condensed bold small-caps xx-small Menu' +Pass Property font value 'small-caps medium/normal "Non-Generic Example Family Name"' +Pass Property font value 'small-caps normal xx-large/1.2 serif' +Pass Property font value 'small-caps normal normal larger/calc(120% + 1.2em) sans-serif' +Pass Property font value 'small-caps normal normal normal smaller cursive' +Pass Property font value 'small-caps normal normal italic 10px/normal fantasy' +Pass Property font value 'small-caps normal normal bolder 20%/1.2 monospace' +Pass Property font value 'small-caps normal normal semi-expanded calc(30% - 40px)/calc(120% + 1.2em) Menu' +Pass Property font value 'small-caps normal italic xx-small "Non-Generic Example Family Name"' +Pass Property font value 'small-caps normal italic normal medium/normal serif' Fail Property font value 'small-caps normal italic lighter xx-large/1.2 sans-serif' -Fail Property font value 'small-caps normal italic expanded larger/calc(120% + 1.2em) cursive' -Fail Property font value 'small-caps normal 100 smaller fantasy' -Fail Property font value 'small-caps normal 900 normal 10px/normal monospace' -Fail Property font value 'small-caps normal bold italic 20%/1.2 Menu' -Fail Property font value 'small-caps normal bolder extra-expanded calc(30% - 40px)/calc(120% + 1.2em) "Non-Generic Example Family Name"' -Fail Property font value 'small-caps normal ultra-expanded xx-small serif' -Fail Property font value 'small-caps normal ultra-condensed normal medium/normal sans-serif' -Fail Property font value 'small-caps normal extra-condensed italic xx-large/1.2 cursive' +Pass Property font value 'small-caps normal italic expanded larger/calc(120% + 1.2em) cursive' +Pass Property font value 'small-caps normal 100 smaller fantasy' +Pass Property font value 'small-caps normal 900 normal 10px/normal monospace' +Pass Property font value 'small-caps normal bold italic 20%/1.2 Menu' +Pass Property font value 'small-caps normal bolder extra-expanded calc(30% - 40px)/calc(120% + 1.2em) "Non-Generic Example Family Name"' +Pass Property font value 'small-caps normal ultra-expanded xx-small serif' +Pass Property font value 'small-caps normal ultra-condensed normal medium/normal sans-serif' +Pass Property font value 'small-caps normal extra-condensed italic xx-large/1.2 cursive' Fail Property font value 'small-caps normal condensed lighter larger/calc(120% + 1.2em) fantasy' -Fail Property font value 'small-caps italic smaller monospace' -Fail Property font value 'small-caps italic normal 10px/normal Menu' -Fail Property font value 'small-caps italic normal normal 20%/1.2 "Non-Generic Example Family Name"' -Fail Property font value 'small-caps italic normal 100 calc(30% - 40px)/calc(120% + 1.2em) serif' -Fail Property font value 'small-caps italic normal semi-condensed xx-small sans-serif' -Fail Property font value 'small-caps italic 900 medium/normal cursive' -Fail Property font value 'small-caps italic bold normal xx-large/1.2 fantasy' -Fail Property font value 'small-caps italic bolder semi-expanded larger/calc(120% + 1.2em) monospace' -Fail Property font value 'small-caps italic expanded smaller Menu' -Fail Property font value 'small-caps italic extra-expanded normal 10px/normal "Non-Generic Example Family Name"' +Pass Property font value 'small-caps italic smaller monospace' +Pass Property font value 'small-caps italic normal 10px/normal Menu' +Pass Property font value 'small-caps italic normal normal 20%/1.2 "Non-Generic Example Family Name"' +Pass Property font value 'small-caps italic normal 100 calc(30% - 40px)/calc(120% + 1.2em) serif' +Pass Property font value 'small-caps italic normal semi-condensed xx-small sans-serif' +Pass Property font value 'small-caps italic 900 medium/normal cursive' +Pass Property font value 'small-caps italic bold normal xx-large/1.2 fantasy' +Pass Property font value 'small-caps italic bolder semi-expanded larger/calc(120% + 1.2em) monospace' +Pass Property font value 'small-caps italic expanded smaller Menu' +Pass Property font value 'small-caps italic extra-expanded normal 10px/normal "Non-Generic Example Family Name"' Fail Property font value 'small-caps italic ultra-expanded lighter 20%/1.2 serif' -Fail Property font value 'small-caps 100 calc(30% - 40px)/calc(120% + 1.2em) sans-serif' -Fail Property font value 'small-caps 900 normal xx-small cursive' -Fail Property font value 'small-caps bold normal normal medium/normal fantasy' -Fail Property font value 'small-caps bolder normal italic xx-large/1.2 monospace' +Pass Property font value 'small-caps 100 calc(30% - 40px)/calc(120% + 1.2em) sans-serif' +Pass Property font value 'small-caps 900 normal xx-small cursive' +Pass Property font value 'small-caps bold normal normal medium/normal fantasy' +Pass Property font value 'small-caps bolder normal italic xx-large/1.2 monospace' Fail Property font value 'small-caps lighter normal ultra-condensed larger/calc(120% + 1.2em) Menu' -Fail Property font value 'small-caps 100 italic smaller "Non-Generic Example Family Name"' -Fail Property font value 'small-caps 900 italic normal 10px/normal serif' -Fail Property font value 'small-caps bold italic extra-condensed 20%/1.2 sans-serif' -Fail Property font value 'small-caps bolder condensed calc(30% - 40px)/calc(120% + 1.2em) cursive' +Pass Property font value 'small-caps 100 italic smaller "Non-Generic Example Family Name"' +Pass Property font value 'small-caps 900 italic normal 10px/normal serif' +Pass Property font value 'small-caps bold italic extra-condensed 20%/1.2 sans-serif' +Pass Property font value 'small-caps bolder condensed calc(30% - 40px)/calc(120% + 1.2em) cursive' Fail Property font value 'small-caps lighter semi-condensed normal xx-small fantasy' -Fail Property font value 'small-caps 100 semi-expanded italic medium/normal monospace' -Fail Property font value 'small-caps expanded xx-large/1.2 Menu' -Fail Property font value 'small-caps extra-expanded normal larger/calc(120% + 1.2em) "Non-Generic Example Family Name"' -Fail Property font value 'small-caps ultra-expanded normal normal smaller serif' -Fail Property font value 'small-caps ultra-condensed normal italic 10px/normal sans-serif' -Fail Property font value 'small-caps extra-condensed normal 900 20%/1.2 cursive' -Fail Property font value 'small-caps condensed italic calc(30% - 40px)/calc(120% + 1.2em) fantasy' -Fail Property font value 'small-caps semi-condensed italic normal xx-small monospace' -Fail Property font value 'small-caps semi-expanded italic bold medium/normal Menu' -Fail Property font value 'small-caps expanded bolder xx-large/1.2 "Non-Generic Example Family Name"' +Pass Property font value 'small-caps 100 semi-expanded italic medium/normal monospace' +Pass Property font value 'small-caps expanded xx-large/1.2 Menu' +Pass Property font value 'small-caps extra-expanded normal larger/calc(120% + 1.2em) "Non-Generic Example Family Name"' +Pass Property font value 'small-caps ultra-expanded normal normal smaller serif' +Pass Property font value 'small-caps ultra-condensed normal italic 10px/normal sans-serif' +Pass Property font value 'small-caps extra-condensed normal 900 20%/1.2 cursive' +Pass Property font value 'small-caps condensed italic calc(30% - 40px)/calc(120% + 1.2em) fantasy' +Pass Property font value 'small-caps semi-condensed italic normal xx-small monospace' +Pass Property font value 'small-caps semi-expanded italic bold medium/normal Menu' +Pass Property font value 'small-caps expanded bolder xx-large/1.2 "Non-Generic Example Family Name"' Fail Property font value 'small-caps extra-expanded lighter normal larger/calc(120% + 1.2em) serif' -Fail Property font value 'small-caps ultra-expanded 100 italic smaller sans-serif' +Pass Property font value 'small-caps ultra-expanded 100 italic smaller sans-serif' Pass Property font value '900 10px/normal cursive' Pass Property font value 'bold normal 20%/1.2 fantasy' Pass Property font value 'bolder normal normal calc(30% - 40px)/calc(120% + 1.2em) monospace' Fail Property font value 'lighter normal normal normal xx-small Menu' Pass Property font value '100 normal normal italic medium/normal "Non-Generic Example Family Name"' -Fail Property font value '900 normal normal small-caps xx-large/1.2 serif' +Pass Property font value '900 normal normal small-caps xx-large/1.2 serif' Pass Property font value 'bold normal normal ultra-condensed larger/calc(120% + 1.2em) sans-serif' Pass Property font value 'bolder normal italic smaller cursive' Fail Property font value 'lighter normal italic normal 10px/normal fantasy' -Fail Property font value '100 normal italic small-caps 20%/1.2 monospace' +Pass Property font value '100 normal italic small-caps 20%/1.2 monospace' Pass Property font value '900 normal italic extra-condensed calc(30% - 40px)/calc(120% + 1.2em) Menu' -Fail Property font value 'bold normal small-caps xx-small "Non-Generic Example Family Name"' -Fail Property font value 'bolder normal small-caps normal medium/normal serif' +Pass Property font value 'bold normal small-caps xx-small "Non-Generic Example Family Name"' +Pass Property font value 'bolder normal small-caps normal medium/normal serif' Fail Property font value 'lighter normal small-caps italic xx-large/1.2 sans-serif' -Fail Property font value '100 normal small-caps condensed larger/calc(120% + 1.2em) cursive' +Pass Property font value '100 normal small-caps condensed larger/calc(120% + 1.2em) cursive' Pass Property font value '900 normal semi-condensed smaller fantasy' Pass Property font value 'bold normal semi-expanded normal 10px/normal monospace' Pass Property font value 'bolder normal expanded italic 20%/1.2 Menu' @@ -237,51 +237,51 @@ Fail Property font value 'lighter normal extra-expanded small-caps calc(30% - 40 Pass Property font value '100 italic xx-small serif' Pass Property font value '900 italic normal medium/normal sans-serif' Pass Property font value 'bold italic normal normal xx-large/1.2 cursive' -Fail Property font value 'bolder italic normal small-caps larger/calc(120% + 1.2em) fantasy' +Pass Property font value 'bolder italic normal small-caps larger/calc(120% + 1.2em) fantasy' Fail Property font value 'lighter italic normal ultra-expanded smaller monospace' -Fail Property font value '100 italic small-caps 10px/normal Menu' -Fail Property font value '900 italic small-caps normal 20%/1.2 "Non-Generic Example Family Name"' -Fail Property font value 'bold italic small-caps ultra-condensed calc(30% - 40px)/calc(120% + 1.2em) serif' +Pass Property font value '100 italic small-caps 10px/normal Menu' +Pass Property font value '900 italic small-caps normal 20%/1.2 "Non-Generic Example Family Name"' +Pass Property font value 'bold italic small-caps ultra-condensed calc(30% - 40px)/calc(120% + 1.2em) serif' Pass Property font value 'bolder italic extra-condensed xx-small sans-serif' Fail Property font value 'lighter italic condensed normal medium/normal cursive' -Fail Property font value '100 italic semi-condensed small-caps xx-large/1.2 fantasy' -Fail Property font value '900 small-caps larger/calc(120% + 1.2em) monospace' -Fail Property font value 'bold small-caps normal smaller Menu' -Fail Property font value 'bolder small-caps normal normal 10px/normal "Non-Generic Example Family Name"' +Pass Property font value '100 italic semi-condensed small-caps xx-large/1.2 fantasy' +Pass Property font value '900 small-caps larger/calc(120% + 1.2em) monospace' +Pass Property font value 'bold small-caps normal smaller Menu' +Pass Property font value 'bolder small-caps normal normal 10px/normal "Non-Generic Example Family Name"' Fail Property font value 'lighter small-caps normal italic 20%/1.2 serif' -Fail Property font value '100 small-caps normal semi-expanded calc(30% - 40px)/calc(120% + 1.2em) sans-serif' -Fail Property font value '900 small-caps italic xx-small cursive' -Fail Property font value 'bold small-caps italic normal medium/normal fantasy' -Fail Property font value 'bolder small-caps italic expanded xx-large/1.2 monospace' +Pass Property font value '100 small-caps normal semi-expanded calc(30% - 40px)/calc(120% + 1.2em) sans-serif' +Pass Property font value '900 small-caps italic xx-small cursive' +Pass Property font value 'bold small-caps italic normal medium/normal fantasy' +Pass Property font value 'bolder small-caps italic expanded xx-large/1.2 monospace' Fail Property font value 'lighter small-caps extra-expanded larger/calc(120% + 1.2em) Menu' -Fail Property font value '100 small-caps ultra-expanded normal smaller "Non-Generic Example Family Name"' -Fail Property font value '900 small-caps ultra-condensed italic 10px/normal serif' +Pass Property font value '100 small-caps ultra-expanded normal smaller "Non-Generic Example Family Name"' +Pass Property font value '900 small-caps ultra-condensed italic 10px/normal serif' Pass Property font value 'bold extra-condensed 20%/1.2 sans-serif' Pass Property font value 'bolder condensed normal calc(30% - 40px)/calc(120% + 1.2em) cursive' Fail Property font value 'lighter semi-condensed normal normal xx-small fantasy' Pass Property font value '100 semi-expanded normal italic medium/normal monospace' -Fail Property font value '900 expanded normal small-caps xx-large/1.2 Menu' +Pass Property font value '900 expanded normal small-caps xx-large/1.2 Menu' Pass Property font value 'bold extra-expanded italic larger/calc(120% + 1.2em) "Non-Generic Example Family Name"' Pass Property font value 'bolder ultra-expanded italic normal smaller serif' Fail Property font value 'lighter ultra-condensed italic small-caps 10px/normal sans-serif' -Fail Property font value '100 extra-condensed small-caps 20%/1.2 cursive' -Fail Property font value '900 condensed small-caps normal calc(30% - 40px)/calc(120% + 1.2em) fantasy' -Fail Property font value 'bold semi-condensed small-caps italic xx-small monospace' +Pass Property font value '100 extra-condensed small-caps 20%/1.2 cursive' +Pass Property font value '900 condensed small-caps normal calc(30% - 40px)/calc(120% + 1.2em) fantasy' +Pass Property font value 'bold semi-condensed small-caps italic xx-small monospace' Pass Property font value 'semi-expanded medium/normal Menu' Pass Property font value 'expanded normal xx-large/1.2 "Non-Generic Example Family Name"' Pass Property font value 'extra-expanded normal normal larger/calc(120% + 1.2em) serif' Pass Property font value 'ultra-expanded normal normal normal smaller sans-serif' Pass Property font value 'ultra-condensed normal normal italic 10px/normal cursive' -Fail Property font value 'extra-condensed normal normal small-caps 20%/1.2 fantasy' +Pass Property font value 'extra-condensed normal normal small-caps 20%/1.2 fantasy' Pass Property font value 'condensed normal normal bolder calc(30% - 40px)/calc(120% + 1.2em) monospace' Pass Property font value 'semi-condensed normal italic xx-small Menu' Pass Property font value 'semi-expanded normal italic normal medium/normal "Non-Generic Example Family Name"' -Fail Property font value 'expanded normal italic small-caps xx-large/1.2 serif' +Pass Property font value 'expanded normal italic small-caps xx-large/1.2 serif' Fail Property font value 'extra-expanded normal italic lighter larger/calc(120% + 1.2em) sans-serif' -Fail Property font value 'ultra-expanded normal small-caps smaller cursive' -Fail Property font value 'ultra-condensed normal small-caps normal 10px/normal fantasy' -Fail Property font value 'extra-condensed normal small-caps italic 20%/1.2 monospace' -Fail Property font value 'condensed normal small-caps 100 calc(30% - 40px)/calc(120% + 1.2em) Menu' +Pass Property font value 'ultra-expanded normal small-caps smaller cursive' +Pass Property font value 'ultra-condensed normal small-caps normal 10px/normal fantasy' +Pass Property font value 'extra-condensed normal small-caps italic 20%/1.2 monospace' +Pass Property font value 'condensed normal small-caps 100 calc(30% - 40px)/calc(120% + 1.2em) Menu' Pass Property font value 'semi-condensed normal 900 xx-small "Non-Generic Example Family Name"' Pass Property font value 'semi-expanded normal bold normal medium/normal serif' Pass Property font value 'expanded normal bolder italic xx-large/1.2 sans-serif' @@ -289,24 +289,24 @@ Fail Property font value 'extra-expanded normal lighter small-caps larger/calc(1 Pass Property font value 'ultra-expanded italic smaller fantasy' Pass Property font value 'ultra-condensed italic normal 10px/normal monospace' Pass Property font value 'extra-condensed italic normal normal 20%/1.2 Menu' -Fail Property font value 'condensed italic normal small-caps calc(30% - 40px)/calc(120% + 1.2em) "Non-Generic Example Family Name"' +Pass Property font value 'condensed italic normal small-caps calc(30% - 40px)/calc(120% + 1.2em) "Non-Generic Example Family Name"' Pass Property font value 'semi-condensed italic normal 100 xx-small serif' -Fail Property font value 'semi-expanded italic small-caps medium/normal sans-serif' -Fail Property font value 'expanded italic small-caps normal xx-large/1.2 cursive' -Fail Property font value 'extra-expanded italic small-caps 900 larger/calc(120% + 1.2em) fantasy' +Pass Property font value 'semi-expanded italic small-caps medium/normal sans-serif' +Pass Property font value 'expanded italic small-caps normal xx-large/1.2 cursive' +Pass Property font value 'extra-expanded italic small-caps 900 larger/calc(120% + 1.2em) fantasy' Pass Property font value 'ultra-expanded italic bold smaller monospace' Pass Property font value 'ultra-condensed italic bolder normal 10px/normal Menu' Fail Property font value 'extra-condensed italic lighter small-caps 20%/1.2 "Non-Generic Example Family Name"' -Fail Property font value 'condensed small-caps calc(30% - 40px)/calc(120% + 1.2em) serif' -Fail Property font value 'semi-condensed small-caps normal xx-small sans-serif' -Fail Property font value 'semi-expanded small-caps normal normal medium/normal cursive' -Fail Property font value 'expanded small-caps normal italic xx-large/1.2 fantasy' -Fail Property font value 'extra-expanded small-caps normal 100 larger/calc(120% + 1.2em) monospace' -Fail Property font value 'ultra-expanded small-caps italic smaller Menu' -Fail Property font value 'ultra-condensed small-caps italic normal 10px/normal "Non-Generic Example Family Name"' -Fail Property font value 'extra-condensed small-caps italic 900 20%/1.2 serif' -Fail Property font value 'condensed small-caps bold calc(30% - 40px)/calc(120% + 1.2em) sans-serif' -Fail Property font value 'semi-condensed small-caps bolder normal xx-small cursive' +Pass Property font value 'condensed small-caps calc(30% - 40px)/calc(120% + 1.2em) serif' +Pass Property font value 'semi-condensed small-caps normal xx-small sans-serif' +Pass Property font value 'semi-expanded small-caps normal normal medium/normal cursive' +Pass Property font value 'expanded small-caps normal italic xx-large/1.2 fantasy' +Pass Property font value 'extra-expanded small-caps normal 100 larger/calc(120% + 1.2em) monospace' +Pass Property font value 'ultra-expanded small-caps italic smaller Menu' +Pass Property font value 'ultra-condensed small-caps italic normal 10px/normal "Non-Generic Example Family Name"' +Pass Property font value 'extra-condensed small-caps italic 900 20%/1.2 serif' +Pass Property font value 'condensed small-caps bold calc(30% - 40px)/calc(120% + 1.2em) sans-serif' +Pass Property font value 'semi-condensed small-caps bolder normal xx-small cursive' Fail Property font value 'semi-expanded small-caps lighter italic medium/normal fantasy' Pass Property font value 'expanded 100 xx-large/1.2 monospace' Pass Property font value 'extra-expanded 900 normal larger/calc(120% + 1.2em) Menu' @@ -315,7 +315,7 @@ Pass Property font value 'ultra-condensed bolder normal italic 10px/normal serif Fail Property font value 'extra-condensed lighter normal small-caps 20%/1.2 sans-serif' Pass Property font value 'condensed 100 italic calc(30% - 40px)/calc(120% + 1.2em) cursive' Pass Property font value 'semi-condensed 900 italic normal xx-small fantasy' -Fail Property font value 'semi-expanded bold italic small-caps medium/normal monospace' -Fail Property font value 'expanded bolder small-caps xx-large/1.2 Menu' +Pass Property font value 'semi-expanded bold italic small-caps medium/normal monospace' +Pass Property font value 'expanded bolder small-caps xx-large/1.2 Menu' Fail Property font value 'extra-expanded lighter small-caps normal larger/calc(120% + 1.2em) "Non-Generic Example Family Name"' -Fail Property font value 'ultra-expanded 100 small-caps italic smaller serif' \ No newline at end of file +Pass Property font value 'ultra-expanded 100 small-caps italic smaller serif' \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-valid.txt index fc1a1cd5e35..682caaf7305 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-valid.txt @@ -2,8 +2,8 @@ Harness status: OK Found 315 tests -119 Pass -196 Fail +278 Pass +37 Fail Pass caption should be a supported system font. Pass icon should be a supported system font. Pass menu should be a supported system font. @@ -16,64 +16,64 @@ Pass e.style['font'] = "normal normal xx-large/1.2 cursive" should set the prope Pass e.style['font'] = "normal normal normal larger/calc(120% + 1.2em) fantasy" should set the property value Pass e.style['font'] = "normal normal normal normal smaller monospace" should set the property value Pass e.style['font'] = "normal normal normal italic 10px/normal Menu" should set the property value -Fail e.style['font'] = "normal normal normal small-caps 20%/1.2 \"FB Armada\"" should set the property value +Pass e.style['font'] = "normal normal normal small-caps 20%/1.2 \"FB Armada\"" should set the property value Pass e.style['font'] = "normal normal normal bold calc(30% - 40px)/calc(120% + 1.2em) serif" should set the property value Pass e.style['font'] = "normal normal normal ultra-condensed xx-small sans-serif" should set the property value Pass e.style['font'] = "normal normal oblique medium/normal cursive" should set the property value Pass e.style['font'] = "normal normal italic normal xx-large/1.2 fantasy" should set the property value -Fail e.style['font'] = "normal normal oblique small-caps larger/calc(120% + 1.2em) monospace" should set the property value +Pass e.style['font'] = "normal normal oblique small-caps larger/calc(120% + 1.2em) monospace" should set the property value Pass e.style['font'] = "normal normal italic bolder smaller Menu" should set the property value Pass e.style['font'] = "normal normal oblique extra-condensed 10px/normal \"FB Armada\"" should set the property value -Fail e.style['font'] = "normal normal small-caps 20%/1.2 serif" should set the property value -Fail e.style['font'] = "normal normal small-caps normal calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value -Fail e.style['font'] = "normal normal small-caps italic xx-small cursive" should set the property value +Pass e.style['font'] = "normal normal small-caps 20%/1.2 serif" should set the property value +Pass e.style['font'] = "normal normal small-caps normal calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value +Pass e.style['font'] = "normal normal small-caps italic xx-small cursive" should set the property value Fail e.style['font'] = "normal normal small-caps lighter medium/normal fantasy" should set the property value -Fail e.style['font'] = "normal normal small-caps condensed xx-large/1.2 monospace" should set the property value +Pass e.style['font'] = "normal normal small-caps condensed xx-large/1.2 monospace" should set the property value Pass e.style['font'] = "normal normal 100 larger/calc(120% + 1.2em) Menu" should set the property value Pass e.style['font'] = "normal normal 900 normal smaller \"FB Armada\"" should set the property value Pass e.style['font'] = "normal normal bold oblique 10px/normal serif" should set the property value -Fail e.style['font'] = "normal normal bolder small-caps 20%/1.2 sans-serif" should set the property value +Pass e.style['font'] = "normal normal bolder small-caps 20%/1.2 sans-serif" should set the property value Fail e.style['font'] = "normal normal lighter semi-condensed calc(30% - 40px)/calc(120% + 1.2em) cursive" should set the property value Pass e.style['font'] = "normal normal semi-expanded xx-small fantasy" should set the property value Pass e.style['font'] = "normal normal expanded normal medium/normal monospace" should set the property value Pass e.style['font'] = "normal normal extra-expanded italic xx-large/1.2 Menu" should set the property value -Fail e.style['font'] = "normal normal ultra-expanded small-caps larger/calc(120% + 1.2em) \"FB Armada\"" should set the property value +Pass e.style['font'] = "normal normal ultra-expanded small-caps larger/calc(120% + 1.2em) \"FB Armada\"" should set the property value Pass e.style['font'] = "normal normal ultra-condensed 100 smaller serif" should set the property value Pass e.style['font'] = "normal oblique 10px/normal sans-serif" should set the property value Pass e.style['font'] = "normal italic normal 20%/1.2 cursive" should set the property value Pass e.style['font'] = "normal oblique normal normal calc(30% - 40px)/calc(120% + 1.2em) fantasy" should set the property value -Fail e.style['font'] = "normal italic normal small-caps xx-small monospace" should set the property value +Pass e.style['font'] = "normal italic normal small-caps xx-small monospace" should set the property value Pass e.style['font'] = "normal oblique normal 900 medium/normal Menu" should set the property value Pass e.style['font'] = "normal italic normal extra-condensed xx-large/1.2 \"FB Armada\"" should set the property value -Fail e.style['font'] = "normal oblique small-caps larger/calc(120% + 1.2em) serif" should set the property value -Fail e.style['font'] = "normal italic small-caps normal smaller sans-serif" should set the property value -Fail e.style['font'] = "normal oblique small-caps bold 10px/normal cursive" should set the property value -Fail e.style['font'] = "normal italic small-caps condensed 20%/1.2 fantasy" should set the property value +Pass e.style['font'] = "normal oblique small-caps larger/calc(120% + 1.2em) serif" should set the property value +Pass e.style['font'] = "normal italic small-caps normal smaller sans-serif" should set the property value +Pass e.style['font'] = "normal oblique small-caps bold 10px/normal cursive" should set the property value +Pass e.style['font'] = "normal italic small-caps condensed 20%/1.2 fantasy" should set the property value Pass e.style['font'] = "normal oblique bolder calc(30% - 40px)/calc(120% + 1.2em) monospace" should set the property value Fail e.style['font'] = "normal italic lighter normal xx-small Menu" should set the property value -Fail e.style['font'] = "normal oblique 100 small-caps medium/normal \"FB Armada\"" should set the property value +Pass e.style['font'] = "normal oblique 100 small-caps medium/normal \"FB Armada\"" should set the property value Pass e.style['font'] = "normal italic 900 semi-condensed xx-large/1.2 serif" should set the property value Pass e.style['font'] = "normal oblique semi-expanded larger/calc(120% + 1.2em) sans-serif" should set the property value Pass e.style['font'] = "normal italic expanded normal smaller cursive" should set the property value -Fail e.style['font'] = "normal oblique extra-expanded small-caps 10px/normal fantasy" should set the property value +Pass e.style['font'] = "normal oblique extra-expanded small-caps 10px/normal fantasy" should set the property value Pass e.style['font'] = "normal italic ultra-expanded bold 20%/1.2 monospace" should set the property value -Fail e.style['font'] = "normal small-caps calc(30% - 40px)/calc(120% + 1.2em) Menu" should set the property value -Fail e.style['font'] = "normal small-caps normal xx-small \"FB Armada\"" should set the property value -Fail e.style['font'] = "normal small-caps normal normal medium/normal serif" should set the property value -Fail e.style['font'] = "normal small-caps normal oblique xx-large/1.2 sans-serif" should set the property value -Fail e.style['font'] = "normal small-caps normal bolder larger/calc(120% + 1.2em) cursive" should set the property value -Fail e.style['font'] = "normal small-caps normal ultra-condensed smaller fantasy" should set the property value -Fail e.style['font'] = "normal small-caps italic 10px/normal monospace" should set the property value -Fail e.style['font'] = "normal small-caps oblique normal 20%/1.2 Menu" should set the property value +Pass e.style['font'] = "normal small-caps calc(30% - 40px)/calc(120% + 1.2em) Menu" should set the property value +Pass e.style['font'] = "normal small-caps normal xx-small \"FB Armada\"" should set the property value +Pass e.style['font'] = "normal small-caps normal normal medium/normal serif" should set the property value +Pass e.style['font'] = "normal small-caps normal oblique xx-large/1.2 sans-serif" should set the property value +Pass e.style['font'] = "normal small-caps normal bolder larger/calc(120% + 1.2em) cursive" should set the property value +Pass e.style['font'] = "normal small-caps normal ultra-condensed smaller fantasy" should set the property value +Pass e.style['font'] = "normal small-caps italic 10px/normal monospace" should set the property value +Pass e.style['font'] = "normal small-caps oblique normal 20%/1.2 Menu" should set the property value Fail e.style['font'] = "normal small-caps italic lighter calc(30% - 40px)/calc(120% + 1.2em) \"FB Armada\"" should set the property value -Fail e.style['font'] = "normal small-caps oblique extra-condensed xx-small serif" should set the property value -Fail e.style['font'] = "normal small-caps 100 medium/normal sans-serif" should set the property value -Fail e.style['font'] = "normal small-caps 900 normal xx-large/1.2 cursive" should set the property value -Fail e.style['font'] = "normal small-caps bold italic larger/calc(120% + 1.2em) fantasy" should set the property value -Fail e.style['font'] = "normal small-caps bolder condensed smaller monospace" should set the property value -Fail e.style['font'] = "normal small-caps semi-condensed 10px/normal Menu" should set the property value -Fail e.style['font'] = "normal small-caps semi-expanded normal 20%/1.2 \"FB Armada\"" should set the property value -Fail e.style['font'] = "normal small-caps expanded oblique calc(30% - 40px)/calc(120% + 1.2em) serif" should set the property value +Pass e.style['font'] = "normal small-caps oblique extra-condensed xx-small serif" should set the property value +Pass e.style['font'] = "normal small-caps 100 medium/normal sans-serif" should set the property value +Pass e.style['font'] = "normal small-caps 900 normal xx-large/1.2 cursive" should set the property value +Pass e.style['font'] = "normal small-caps bold italic larger/calc(120% + 1.2em) fantasy" should set the property value +Pass e.style['font'] = "normal small-caps bolder condensed smaller monospace" should set the property value +Pass e.style['font'] = "normal small-caps semi-condensed 10px/normal Menu" should set the property value +Pass e.style['font'] = "normal small-caps semi-expanded normal 20%/1.2 \"FB Armada\"" should set the property value +Pass e.style['font'] = "normal small-caps expanded oblique calc(30% - 40px)/calc(120% + 1.2em) serif" should set the property value Fail e.style['font'] = "normal small-caps extra-expanded lighter xx-small sans-serif" should set the property value Pass e.style['font'] = "normal 100 medium/normal cursive" should set the property value Pass e.style['font'] = "normal 900 normal xx-large/1.2 fantasy" should set the property value @@ -83,30 +83,30 @@ Fail e.style['font'] = "normal lighter normal small-caps 10px/normal \"FB Armada Pass e.style['font'] = "normal 100 normal ultra-expanded 20%/1.2 serif" should set the property value Pass e.style['font'] = "normal 900 oblique calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value Pass e.style['font'] = "normal bold italic normal xx-small cursive" should set the property value -Fail e.style['font'] = "normal bolder oblique small-caps medium/normal fantasy" should set the property value +Pass e.style['font'] = "normal bolder oblique small-caps medium/normal fantasy" should set the property value Fail e.style['font'] = "normal lighter italic ultra-condensed xx-large/1.2 monospace" should set the property value -Fail e.style['font'] = "normal 100 small-caps larger/calc(120% + 1.2em) Menu" should set the property value -Fail e.style['font'] = "normal 900 small-caps normal smaller \"FB Armada\"" should set the property value -Fail e.style['font'] = "normal bold small-caps oblique 10px/normal serif" should set the property value -Fail e.style['font'] = "normal bolder small-caps extra-condensed 20%/1.2 sans-serif" should set the property value +Pass e.style['font'] = "normal 100 small-caps larger/calc(120% + 1.2em) Menu" should set the property value +Pass e.style['font'] = "normal 900 small-caps normal smaller \"FB Armada\"" should set the property value +Pass e.style['font'] = "normal bold small-caps oblique 10px/normal serif" should set the property value +Pass e.style['font'] = "normal bolder small-caps extra-condensed 20%/1.2 sans-serif" should set the property value Fail e.style['font'] = "normal lighter condensed calc(30% - 40px)/calc(120% + 1.2em) cursive" should set the property value Pass e.style['font'] = "normal 100 semi-condensed normal xx-small fantasy" should set the property value Pass e.style['font'] = "normal 900 semi-expanded italic medium/normal monospace" should set the property value -Fail e.style['font'] = "normal bold expanded small-caps xx-large/1.2 Menu" should set the property value +Pass e.style['font'] = "normal bold expanded small-caps xx-large/1.2 Menu" should set the property value Pass e.style['font'] = "normal extra-expanded larger/calc(120% + 1.2em) \"FB Armada\"" should set the property value Pass e.style['font'] = "normal ultra-expanded normal smaller serif" should set the property value Pass e.style['font'] = "normal ultra-condensed normal normal 10px/normal sans-serif" should set the property value Pass e.style['font'] = "normal extra-condensed normal oblique 20%/1.2 cursive" should set the property value -Fail e.style['font'] = "normal condensed normal small-caps calc(30% - 40px)/calc(120% + 1.2em) fantasy" should set the property value +Pass e.style['font'] = "normal condensed normal small-caps calc(30% - 40px)/calc(120% + 1.2em) fantasy" should set the property value Pass e.style['font'] = "normal semi-condensed normal bolder xx-small monospace" should set the property value Pass e.style['font'] = "normal semi-expanded italic medium/normal Menu" should set the property value Pass e.style['font'] = "normal expanded oblique normal xx-large/1.2 \"FB Armada\"" should set the property value -Fail e.style['font'] = "normal extra-expanded italic small-caps larger/calc(120% + 1.2em) serif" should set the property value +Pass e.style['font'] = "normal extra-expanded italic small-caps larger/calc(120% + 1.2em) serif" should set the property value Fail e.style['font'] = "normal ultra-expanded oblique lighter smaller sans-serif" should set the property value -Fail e.style['font'] = "normal ultra-condensed small-caps 10px/normal cursive" should set the property value -Fail e.style['font'] = "normal extra-condensed small-caps normal 20%/1.2 fantasy" should set the property value -Fail e.style['font'] = "normal condensed small-caps italic calc(30% - 40px)/calc(120% + 1.2em) monospace" should set the property value -Fail e.style['font'] = "normal semi-condensed small-caps 100 xx-small Menu" should set the property value +Pass e.style['font'] = "normal ultra-condensed small-caps 10px/normal cursive" should set the property value +Pass e.style['font'] = "normal extra-condensed small-caps normal 20%/1.2 fantasy" should set the property value +Pass e.style['font'] = "normal condensed small-caps italic calc(30% - 40px)/calc(120% + 1.2em) monospace" should set the property value +Pass e.style['font'] = "normal semi-condensed small-caps 100 xx-small Menu" should set the property value Pass e.style['font'] = "normal semi-expanded 900 medium/normal \"FB Armada\"" should set the property value Pass e.style['font'] = "normal expanded bold normal xx-large/1.2 serif" should set the property value Pass e.style['font'] = "normal extra-expanded bolder oblique larger/calc(120% + 1.2em) sans-serif" should set the property value @@ -115,121 +115,121 @@ Pass e.style['font'] = "italic 10px/normal fantasy" should set the property valu Pass e.style['font'] = "oblique normal 20%/1.2 monospace" should set the property value Pass e.style['font'] = "italic normal normal calc(30% - 40px)/calc(120% + 1.2em) Menu" should set the property value Pass e.style['font'] = "oblique normal normal normal xx-small \"FB Armada\"" should set the property value -Fail e.style['font'] = "italic normal normal small-caps medium/normal serif" should set the property value +Pass e.style['font'] = "italic normal normal small-caps medium/normal serif" should set the property value Pass e.style['font'] = "oblique normal normal 100 xx-large/1.2 sans-serif" should set the property value Pass e.style['font'] = "italic normal normal ultra-condensed larger/calc(120% + 1.2em) cursive" should set the property value -Fail e.style['font'] = "oblique normal small-caps smaller fantasy" should set the property value -Fail e.style['font'] = "italic normal small-caps normal 10px/normal monospace" should set the property value -Fail e.style['font'] = "oblique normal small-caps 900 20%/1.2 Menu" should set the property value -Fail e.style['font'] = "italic normal small-caps extra-condensed calc(30% - 40px)/calc(120% + 1.2em) \"FB Armada\"" should set the property value +Pass e.style['font'] = "oblique normal small-caps smaller fantasy" should set the property value +Pass e.style['font'] = "italic normal small-caps normal 10px/normal monospace" should set the property value +Pass e.style['font'] = "oblique normal small-caps 900 20%/1.2 Menu" should set the property value +Pass e.style['font'] = "italic normal small-caps extra-condensed calc(30% - 40px)/calc(120% + 1.2em) \"FB Armada\"" should set the property value Pass e.style['font'] = "oblique normal bold xx-small serif" should set the property value Pass e.style['font'] = "italic normal bolder normal medium/normal sans-serif" should set the property value Fail e.style['font'] = "oblique normal lighter small-caps xx-large/1.2 cursive" should set the property value Pass e.style['font'] = "italic normal 100 condensed larger/calc(120% + 1.2em) fantasy" should set the property value Pass e.style['font'] = "oblique normal semi-condensed smaller monospace" should set the property value Pass e.style['font'] = "italic normal semi-expanded normal 10px/normal Menu" should set the property value -Fail e.style['font'] = "oblique normal expanded small-caps 20%/1.2 \"FB Armada\"" should set the property value +Pass e.style['font'] = "oblique normal expanded small-caps 20%/1.2 \"FB Armada\"" should set the property value Pass e.style['font'] = "italic normal extra-expanded 900 calc(30% - 40px)/calc(120% + 1.2em) serif" should set the property value -Fail e.style['font'] = "oblique small-caps xx-small sans-serif" should set the property value -Fail e.style['font'] = "italic small-caps normal medium/normal cursive" should set the property value -Fail e.style['font'] = "oblique small-caps normal normal xx-large/1.2 fantasy" should set the property value -Fail e.style['font'] = "italic small-caps normal bold larger/calc(120% + 1.2em) monospace" should set the property value -Fail e.style['font'] = "oblique small-caps normal ultra-expanded smaller Menu" should set the property value -Fail e.style['font'] = "italic small-caps bolder 10px/normal \"FB Armada\"" should set the property value +Pass e.style['font'] = "oblique small-caps xx-small sans-serif" should set the property value +Pass e.style['font'] = "italic small-caps normal medium/normal cursive" should set the property value +Pass e.style['font'] = "oblique small-caps normal normal xx-large/1.2 fantasy" should set the property value +Pass e.style['font'] = "italic small-caps normal bold larger/calc(120% + 1.2em) monospace" should set the property value +Pass e.style['font'] = "oblique small-caps normal ultra-expanded smaller Menu" should set the property value +Pass e.style['font'] = "italic small-caps bolder 10px/normal \"FB Armada\"" should set the property value Fail e.style['font'] = "oblique small-caps lighter normal 20%/1.2 serif" should set the property value -Fail e.style['font'] = "italic small-caps 100 ultra-condensed calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value -Fail e.style['font'] = "oblique small-caps extra-condensed xx-small cursive" should set the property value -Fail e.style['font'] = "italic small-caps condensed normal medium/normal fantasy" should set the property value -Fail e.style['font'] = "oblique small-caps semi-condensed 900 xx-large/1.2 monospace" should set the property value +Pass e.style['font'] = "italic small-caps 100 ultra-condensed calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value +Pass e.style['font'] = "oblique small-caps extra-condensed xx-small cursive" should set the property value +Pass e.style['font'] = "italic small-caps condensed normal medium/normal fantasy" should set the property value +Pass e.style['font'] = "oblique small-caps semi-condensed 900 xx-large/1.2 monospace" should set the property value Pass e.style['font'] = "italic bold larger/calc(120% + 1.2em) Menu" should set the property value Pass e.style['font'] = "oblique bolder normal smaller \"FB Armada\"" should set the property value Fail e.style['font'] = "italic lighter normal normal 10px/normal serif" should set the property value -Fail e.style['font'] = "oblique 100 normal small-caps 20%/1.2 sans-serif" should set the property value +Pass e.style['font'] = "oblique 100 normal small-caps 20%/1.2 sans-serif" should set the property value Pass e.style['font'] = "italic 900 normal semi-expanded calc(30% - 40px)/calc(120% + 1.2em) cursive" should set the property value -Fail e.style['font'] = "oblique bold small-caps xx-small fantasy" should set the property value -Fail e.style['font'] = "italic bolder small-caps normal medium/normal monospace" should set the property value +Pass e.style['font'] = "oblique bold small-caps xx-small fantasy" should set the property value +Pass e.style['font'] = "italic bolder small-caps normal medium/normal monospace" should set the property value Fail e.style['font'] = "oblique lighter small-caps expanded xx-large/1.2 Menu" should set the property value Pass e.style['font'] = "italic 100 extra-expanded larger/calc(120% + 1.2em) \"FB Armada\"" should set the property value Pass e.style['font'] = "oblique 900 ultra-expanded normal smaller serif" should set the property value -Fail e.style['font'] = "italic bold ultra-condensed small-caps 10px/normal sans-serif" should set the property value +Pass e.style['font'] = "italic bold ultra-condensed small-caps 10px/normal sans-serif" should set the property value Pass e.style['font'] = "oblique extra-condensed 20%/1.2 cursive" should set the property value Pass e.style['font'] = "italic condensed normal calc(30% - 40px)/calc(120% + 1.2em) fantasy" should set the property value Pass e.style['font'] = "oblique semi-condensed normal normal xx-small monospace" should set the property value -Fail e.style['font'] = "italic semi-expanded normal small-caps medium/normal Menu" should set the property value +Pass e.style['font'] = "italic semi-expanded normal small-caps medium/normal Menu" should set the property value Pass e.style['font'] = "oblique expanded normal bolder xx-large/1.2 \"FB Armada\"" should set the property value -Fail e.style['font'] = "italic extra-expanded small-caps larger/calc(120% + 1.2em) serif" should set the property value -Fail e.style['font'] = "oblique ultra-expanded small-caps normal smaller sans-serif" should set the property value +Pass e.style['font'] = "italic extra-expanded small-caps larger/calc(120% + 1.2em) serif" should set the property value +Pass e.style['font'] = "oblique ultra-expanded small-caps normal smaller sans-serif" should set the property value Fail e.style['font'] = "italic ultra-condensed small-caps lighter 10px/normal cursive" should set the property value Pass e.style['font'] = "oblique extra-condensed 100 20%/1.2 fantasy" should set the property value Pass e.style['font'] = "italic condensed 900 normal calc(30% - 40px)/calc(120% + 1.2em) monospace" should set the property value -Fail e.style['font'] = "oblique semi-condensed bold small-caps xx-small Menu" should set the property value -Fail e.style['font'] = "small-caps medium/normal \"FB Armada\"" should set the property value -Fail e.style['font'] = "small-caps normal xx-large/1.2 serif" should set the property value -Fail e.style['font'] = "small-caps normal normal larger/calc(120% + 1.2em) sans-serif" should set the property value -Fail e.style['font'] = "small-caps normal normal normal smaller cursive" should set the property value -Fail e.style['font'] = "small-caps normal normal italic 10px/normal fantasy" should set the property value -Fail e.style['font'] = "small-caps normal normal bolder 20%/1.2 monospace" should set the property value -Fail e.style['font'] = "small-caps normal normal semi-expanded calc(30% - 40px)/calc(120% + 1.2em) Menu" should set the property value -Fail e.style['font'] = "small-caps normal oblique xx-small \"FB Armada\"" should set the property value -Fail e.style['font'] = "small-caps normal italic normal medium/normal serif" should set the property value +Pass e.style['font'] = "oblique semi-condensed bold small-caps xx-small Menu" should set the property value +Pass e.style['font'] = "small-caps medium/normal \"FB Armada\"" should set the property value +Pass e.style['font'] = "small-caps normal xx-large/1.2 serif" should set the property value +Pass e.style['font'] = "small-caps normal normal larger/calc(120% + 1.2em) sans-serif" should set the property value +Pass e.style['font'] = "small-caps normal normal normal smaller cursive" should set the property value +Pass e.style['font'] = "small-caps normal normal italic 10px/normal fantasy" should set the property value +Pass e.style['font'] = "small-caps normal normal bolder 20%/1.2 monospace" should set the property value +Pass e.style['font'] = "small-caps normal normal semi-expanded calc(30% - 40px)/calc(120% + 1.2em) Menu" should set the property value +Pass e.style['font'] = "small-caps normal oblique xx-small \"FB Armada\"" should set the property value +Pass e.style['font'] = "small-caps normal italic normal medium/normal serif" should set the property value Fail e.style['font'] = "small-caps normal oblique lighter xx-large/1.2 sans-serif" should set the property value -Fail e.style['font'] = "small-caps normal italic expanded larger/calc(120% + 1.2em) cursive" should set the property value -Fail e.style['font'] = "small-caps normal 100 smaller fantasy" should set the property value -Fail e.style['font'] = "small-caps normal 900 normal 10px/normal monospace" should set the property value -Fail e.style['font'] = "small-caps normal bold oblique 20%/1.2 Menu" should set the property value -Fail e.style['font'] = "small-caps normal bolder extra-expanded calc(30% - 40px)/calc(120% + 1.2em) \"FB Armada\"" should set the property value -Fail e.style['font'] = "small-caps normal ultra-expanded xx-small serif" should set the property value -Fail e.style['font'] = "small-caps normal ultra-condensed normal medium/normal sans-serif" should set the property value -Fail e.style['font'] = "small-caps normal extra-condensed italic xx-large/1.2 cursive" should set the property value +Pass e.style['font'] = "small-caps normal italic expanded larger/calc(120% + 1.2em) cursive" should set the property value +Pass e.style['font'] = "small-caps normal 100 smaller fantasy" should set the property value +Pass e.style['font'] = "small-caps normal 900 normal 10px/normal monospace" should set the property value +Pass e.style['font'] = "small-caps normal bold oblique 20%/1.2 Menu" should set the property value +Pass e.style['font'] = "small-caps normal bolder extra-expanded calc(30% - 40px)/calc(120% + 1.2em) \"FB Armada\"" should set the property value +Pass e.style['font'] = "small-caps normal ultra-expanded xx-small serif" should set the property value +Pass e.style['font'] = "small-caps normal ultra-condensed normal medium/normal sans-serif" should set the property value +Pass e.style['font'] = "small-caps normal extra-condensed italic xx-large/1.2 cursive" should set the property value Fail e.style['font'] = "small-caps normal condensed lighter larger/calc(120% + 1.2em) fantasy" should set the property value -Fail e.style['font'] = "small-caps oblique smaller monospace" should set the property value -Fail e.style['font'] = "small-caps italic normal 10px/normal Menu" should set the property value -Fail e.style['font'] = "small-caps oblique normal normal 20%/1.2 \"FB Armada\"" should set the property value -Fail e.style['font'] = "small-caps italic normal 100 calc(30% - 40px)/calc(120% + 1.2em) serif" should set the property value -Fail e.style['font'] = "small-caps oblique normal semi-condensed xx-small sans-serif" should set the property value -Fail e.style['font'] = "small-caps italic 900 medium/normal cursive" should set the property value -Fail e.style['font'] = "small-caps oblique bold normal xx-large/1.2 fantasy" should set the property value -Fail e.style['font'] = "small-caps italic bolder semi-expanded larger/calc(120% + 1.2em) monospace" should set the property value -Fail e.style['font'] = "small-caps oblique expanded smaller Menu" should set the property value -Fail e.style['font'] = "small-caps italic extra-expanded normal 10px/normal \"FB Armada\"" should set the property value +Pass e.style['font'] = "small-caps oblique smaller monospace" should set the property value +Pass e.style['font'] = "small-caps italic normal 10px/normal Menu" should set the property value +Pass e.style['font'] = "small-caps oblique normal normal 20%/1.2 \"FB Armada\"" should set the property value +Pass e.style['font'] = "small-caps italic normal 100 calc(30% - 40px)/calc(120% + 1.2em) serif" should set the property value +Pass e.style['font'] = "small-caps oblique normal semi-condensed xx-small sans-serif" should set the property value +Pass e.style['font'] = "small-caps italic 900 medium/normal cursive" should set the property value +Pass e.style['font'] = "small-caps oblique bold normal xx-large/1.2 fantasy" should set the property value +Pass e.style['font'] = "small-caps italic bolder semi-expanded larger/calc(120% + 1.2em) monospace" should set the property value +Pass e.style['font'] = "small-caps oblique expanded smaller Menu" should set the property value +Pass e.style['font'] = "small-caps italic extra-expanded normal 10px/normal \"FB Armada\"" should set the property value Fail e.style['font'] = "small-caps oblique ultra-expanded lighter 20%/1.2 serif" should set the property value -Fail e.style['font'] = "small-caps 100 calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value -Fail e.style['font'] = "small-caps 900 normal xx-small cursive" should set the property value -Fail e.style['font'] = "small-caps bold normal normal medium/normal fantasy" should set the property value -Fail e.style['font'] = "small-caps bolder normal italic xx-large/1.2 monospace" should set the property value +Pass e.style['font'] = "small-caps 100 calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value +Pass e.style['font'] = "small-caps 900 normal xx-small cursive" should set the property value +Pass e.style['font'] = "small-caps bold normal normal medium/normal fantasy" should set the property value +Pass e.style['font'] = "small-caps bolder normal italic xx-large/1.2 monospace" should set the property value Fail e.style['font'] = "small-caps lighter normal ultra-condensed larger/calc(120% + 1.2em) Menu" should set the property value -Fail e.style['font'] = "small-caps 100 oblique smaller \"FB Armada\"" should set the property value -Fail e.style['font'] = "small-caps 900 italic normal 10px/normal serif" should set the property value -Fail e.style['font'] = "small-caps bold oblique extra-condensed 20%/1.2 sans-serif" should set the property value -Fail e.style['font'] = "small-caps bolder condensed calc(30% - 40px)/calc(120% + 1.2em) cursive" should set the property value +Pass e.style['font'] = "small-caps 100 oblique smaller \"FB Armada\"" should set the property value +Pass e.style['font'] = "small-caps 900 italic normal 10px/normal serif" should set the property value +Pass e.style['font'] = "small-caps bold oblique extra-condensed 20%/1.2 sans-serif" should set the property value +Pass e.style['font'] = "small-caps bolder condensed calc(30% - 40px)/calc(120% + 1.2em) cursive" should set the property value Fail e.style['font'] = "small-caps lighter semi-condensed normal xx-small fantasy" should set the property value -Fail e.style['font'] = "small-caps 100 semi-expanded italic medium/normal monospace" should set the property value -Fail e.style['font'] = "small-caps expanded xx-large/1.2 Menu" should set the property value -Fail e.style['font'] = "small-caps extra-expanded normal larger/calc(120% + 1.2em) \"FB Armada\"" should set the property value -Fail e.style['font'] = "small-caps ultra-expanded normal normal smaller serif" should set the property value -Fail e.style['font'] = "small-caps ultra-condensed normal oblique 10px/normal sans-serif" should set the property value -Fail e.style['font'] = "small-caps extra-condensed normal 900 20%/1.2 cursive" should set the property value -Fail e.style['font'] = "small-caps condensed italic calc(30% - 40px)/calc(120% + 1.2em) fantasy" should set the property value -Fail e.style['font'] = "small-caps semi-condensed oblique normal xx-small monospace" should set the property value -Fail e.style['font'] = "small-caps semi-expanded italic bold medium/normal Menu" should set the property value -Fail e.style['font'] = "small-caps expanded bolder xx-large/1.2 \"FB Armada\"" should set the property value +Pass e.style['font'] = "small-caps 100 semi-expanded italic medium/normal monospace" should set the property value +Pass e.style['font'] = "small-caps expanded xx-large/1.2 Menu" should set the property value +Pass e.style['font'] = "small-caps extra-expanded normal larger/calc(120% + 1.2em) \"FB Armada\"" should set the property value +Pass e.style['font'] = "small-caps ultra-expanded normal normal smaller serif" should set the property value +Pass e.style['font'] = "small-caps ultra-condensed normal oblique 10px/normal sans-serif" should set the property value +Pass e.style['font'] = "small-caps extra-condensed normal 900 20%/1.2 cursive" should set the property value +Pass e.style['font'] = "small-caps condensed italic calc(30% - 40px)/calc(120% + 1.2em) fantasy" should set the property value +Pass e.style['font'] = "small-caps semi-condensed oblique normal xx-small monospace" should set the property value +Pass e.style['font'] = "small-caps semi-expanded italic bold medium/normal Menu" should set the property value +Pass e.style['font'] = "small-caps expanded bolder xx-large/1.2 \"FB Armada\"" should set the property value Fail e.style['font'] = "small-caps extra-expanded lighter normal larger/calc(120% + 1.2em) serif" should set the property value -Fail e.style['font'] = "small-caps ultra-expanded 100 oblique smaller sans-serif" should set the property value +Pass e.style['font'] = "small-caps ultra-expanded 100 oblique smaller sans-serif" should set the property value Pass e.style['font'] = "900 10px/normal cursive" should set the property value Pass e.style['font'] = "bold normal 20%/1.2 fantasy" should set the property value Pass e.style['font'] = "bolder normal normal calc(30% - 40px)/calc(120% + 1.2em) monospace" should set the property value Fail e.style['font'] = "lighter normal normal normal xx-small Menu" should set the property value Pass e.style['font'] = "100 normal normal italic medium/normal \"FB Armada\"" should set the property value -Fail e.style['font'] = "900 normal normal small-caps xx-large/1.2 serif" should set the property value +Pass e.style['font'] = "900 normal normal small-caps xx-large/1.2 serif" should set the property value Pass e.style['font'] = "bold normal normal ultra-condensed larger/calc(120% + 1.2em) sans-serif" should set the property value Pass e.style['font'] = "bolder normal oblique smaller cursive" should set the property value Fail e.style['font'] = "lighter normal italic normal 10px/normal fantasy" should set the property value -Fail e.style['font'] = "100 normal oblique small-caps 20%/1.2 monospace" should set the property value +Pass e.style['font'] = "100 normal oblique small-caps 20%/1.2 monospace" should set the property value Pass e.style['font'] = "900 normal italic extra-condensed calc(30% - 40px)/calc(120% + 1.2em) Menu" should set the property value -Fail e.style['font'] = "bold normal small-caps xx-small \"FB Armada\"" should set the property value -Fail e.style['font'] = "bolder normal small-caps normal medium/normal serif" should set the property value +Pass e.style['font'] = "bold normal small-caps xx-small \"FB Armada\"" should set the property value +Pass e.style['font'] = "bolder normal small-caps normal medium/normal serif" should set the property value Fail e.style['font'] = "lighter normal small-caps oblique xx-large/1.2 sans-serif" should set the property value -Fail e.style['font'] = "100 normal small-caps condensed larger/calc(120% + 1.2em) cursive" should set the property value +Pass e.style['font'] = "100 normal small-caps condensed larger/calc(120% + 1.2em) cursive" should set the property value Pass e.style['font'] = "900 normal semi-condensed smaller fantasy" should set the property value Pass e.style['font'] = "bold normal semi-expanded normal 10px/normal monospace" should set the property value Pass e.style['font'] = "bolder normal expanded italic 20%/1.2 Menu" should set the property value @@ -237,51 +237,51 @@ Fail e.style['font'] = "lighter normal extra-expanded small-caps calc(30% - 40px Pass e.style['font'] = "100 oblique xx-small serif" should set the property value Pass e.style['font'] = "900 italic normal medium/normal sans-serif" should set the property value Pass e.style['font'] = "bold oblique normal normal xx-large/1.2 cursive" should set the property value -Fail e.style['font'] = "bolder italic normal small-caps larger/calc(120% + 1.2em) fantasy" should set the property value +Pass e.style['font'] = "bolder italic normal small-caps larger/calc(120% + 1.2em) fantasy" should set the property value Fail e.style['font'] = "lighter oblique normal ultra-expanded smaller monospace" should set the property value -Fail e.style['font'] = "100 italic small-caps 10px/normal Menu" should set the property value -Fail e.style['font'] = "900 oblique small-caps normal 20%/1.2 \"FB Armada\"" should set the property value -Fail e.style['font'] = "bold italic small-caps ultra-condensed calc(30% - 40px)/calc(120% + 1.2em) serif" should set the property value +Pass e.style['font'] = "100 italic small-caps 10px/normal Menu" should set the property value +Pass e.style['font'] = "900 oblique small-caps normal 20%/1.2 \"FB Armada\"" should set the property value +Pass e.style['font'] = "bold italic small-caps ultra-condensed calc(30% - 40px)/calc(120% + 1.2em) serif" should set the property value Pass e.style['font'] = "bolder oblique extra-condensed xx-small sans-serif" should set the property value Fail e.style['font'] = "lighter italic condensed normal medium/normal cursive" should set the property value -Fail e.style['font'] = "100 oblique semi-condensed small-caps xx-large/1.2 fantasy" should set the property value -Fail e.style['font'] = "900 small-caps larger/calc(120% + 1.2em) monospace" should set the property value -Fail e.style['font'] = "bold small-caps normal smaller Menu" should set the property value -Fail e.style['font'] = "bolder small-caps normal normal 10px/normal \"FB Armada\"" should set the property value +Pass e.style['font'] = "100 oblique semi-condensed small-caps xx-large/1.2 fantasy" should set the property value +Pass e.style['font'] = "900 small-caps larger/calc(120% + 1.2em) monospace" should set the property value +Pass e.style['font'] = "bold small-caps normal smaller Menu" should set the property value +Pass e.style['font'] = "bolder small-caps normal normal 10px/normal \"FB Armada\"" should set the property value Fail e.style['font'] = "lighter small-caps normal italic 20%/1.2 serif" should set the property value -Fail e.style['font'] = "100 small-caps normal semi-expanded calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value -Fail e.style['font'] = "900 small-caps oblique xx-small cursive" should set the property value -Fail e.style['font'] = "bold small-caps italic normal medium/normal fantasy" should set the property value -Fail e.style['font'] = "bolder small-caps oblique expanded xx-large/1.2 monospace" should set the property value +Pass e.style['font'] = "100 small-caps normal semi-expanded calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value +Pass e.style['font'] = "900 small-caps oblique xx-small cursive" should set the property value +Pass e.style['font'] = "bold small-caps italic normal medium/normal fantasy" should set the property value +Pass e.style['font'] = "bolder small-caps oblique expanded xx-large/1.2 monospace" should set the property value Fail e.style['font'] = "lighter small-caps extra-expanded larger/calc(120% + 1.2em) Menu" should set the property value -Fail e.style['font'] = "100 small-caps ultra-expanded normal smaller \"FB Armada\"" should set the property value -Fail e.style['font'] = "900 small-caps ultra-condensed italic 10px/normal serif" should set the property value +Pass e.style['font'] = "100 small-caps ultra-expanded normal smaller \"FB Armada\"" should set the property value +Pass e.style['font'] = "900 small-caps ultra-condensed italic 10px/normal serif" should set the property value Pass e.style['font'] = "bold extra-condensed 20%/1.2 sans-serif" should set the property value Pass e.style['font'] = "bolder condensed normal calc(30% - 40px)/calc(120% + 1.2em) cursive" should set the property value Fail e.style['font'] = "lighter semi-condensed normal normal xx-small fantasy" should set the property value Pass e.style['font'] = "100 semi-expanded normal oblique medium/normal monospace" should set the property value -Fail e.style['font'] = "900 expanded normal small-caps xx-large/1.2 Menu" should set the property value +Pass e.style['font'] = "900 expanded normal small-caps xx-large/1.2 Menu" should set the property value Pass e.style['font'] = "bold extra-expanded italic larger/calc(120% + 1.2em) \"FB Armada\"" should set the property value Pass e.style['font'] = "bolder ultra-expanded oblique normal smaller serif" should set the property value Fail e.style['font'] = "lighter ultra-condensed italic small-caps 10px/normal sans-serif" should set the property value -Fail e.style['font'] = "100 extra-condensed small-caps 20%/1.2 cursive" should set the property value -Fail e.style['font'] = "900 condensed small-caps normal calc(30% - 40px)/calc(120% + 1.2em) fantasy" should set the property value -Fail e.style['font'] = "bold semi-condensed small-caps oblique xx-small monospace" should set the property value +Pass e.style['font'] = "100 extra-condensed small-caps 20%/1.2 cursive" should set the property value +Pass e.style['font'] = "900 condensed small-caps normal calc(30% - 40px)/calc(120% + 1.2em) fantasy" should set the property value +Pass e.style['font'] = "bold semi-condensed small-caps oblique xx-small monospace" should set the property value Pass e.style['font'] = "semi-expanded medium/normal Menu" should set the property value Pass e.style['font'] = "expanded normal xx-large/1.2 \"FB Armada\"" should set the property value Pass e.style['font'] = "extra-expanded normal normal larger/calc(120% + 1.2em) serif" should set the property value Pass e.style['font'] = "ultra-expanded normal normal normal smaller sans-serif" should set the property value Pass e.style['font'] = "ultra-condensed normal normal italic 10px/normal cursive" should set the property value -Fail e.style['font'] = "extra-condensed normal normal small-caps 20%/1.2 fantasy" should set the property value +Pass e.style['font'] = "extra-condensed normal normal small-caps 20%/1.2 fantasy" should set the property value Pass e.style['font'] = "condensed normal normal bolder calc(30% - 40px)/calc(120% + 1.2em) monospace" should set the property value Pass e.style['font'] = "semi-condensed normal oblique xx-small Menu" should set the property value Pass e.style['font'] = "semi-expanded normal italic normal medium/normal \"FB Armada\"" should set the property value -Fail e.style['font'] = "expanded normal oblique small-caps xx-large/1.2 serif" should set the property value +Pass e.style['font'] = "expanded normal oblique small-caps xx-large/1.2 serif" should set the property value Fail e.style['font'] = "extra-expanded normal italic lighter larger/calc(120% + 1.2em) sans-serif" should set the property value -Fail e.style['font'] = "ultra-expanded normal small-caps smaller cursive" should set the property value -Fail e.style['font'] = "ultra-condensed normal small-caps normal 10px/normal fantasy" should set the property value -Fail e.style['font'] = "extra-condensed normal small-caps oblique 20%/1.2 monospace" should set the property value -Fail e.style['font'] = "condensed normal small-caps 100 calc(30% - 40px)/calc(120% + 1.2em) Menu" should set the property value +Pass e.style['font'] = "ultra-expanded normal small-caps smaller cursive" should set the property value +Pass e.style['font'] = "ultra-condensed normal small-caps normal 10px/normal fantasy" should set the property value +Pass e.style['font'] = "extra-condensed normal small-caps oblique 20%/1.2 monospace" should set the property value +Pass e.style['font'] = "condensed normal small-caps 100 calc(30% - 40px)/calc(120% + 1.2em) Menu" should set the property value Pass e.style['font'] = "semi-condensed normal 900 xx-small \"FB Armada\"" should set the property value Pass e.style['font'] = "semi-expanded normal bold normal medium/normal serif" should set the property value Pass e.style['font'] = "expanded normal bolder italic xx-large/1.2 sans-serif" should set the property value @@ -289,24 +289,24 @@ Fail e.style['font'] = "extra-expanded normal lighter small-caps larger/calc(120 Pass e.style['font'] = "ultra-expanded oblique smaller fantasy" should set the property value Pass e.style['font'] = "ultra-condensed italic normal 10px/normal monospace" should set the property value Pass e.style['font'] = "extra-condensed oblique normal normal 20%/1.2 Menu" should set the property value -Fail e.style['font'] = "condensed italic normal small-caps calc(30% - 40px)/calc(120% + 1.2em) \"FB Armada\"" should set the property value +Pass e.style['font'] = "condensed italic normal small-caps calc(30% - 40px)/calc(120% + 1.2em) \"FB Armada\"" should set the property value Pass e.style['font'] = "semi-condensed oblique normal 100 xx-small serif" should set the property value -Fail e.style['font'] = "semi-expanded italic small-caps medium/normal sans-serif" should set the property value -Fail e.style['font'] = "expanded oblique small-caps normal xx-large/1.2 cursive" should set the property value -Fail e.style['font'] = "extra-expanded italic small-caps 900 larger/calc(120% + 1.2em) fantasy" should set the property value +Pass e.style['font'] = "semi-expanded italic small-caps medium/normal sans-serif" should set the property value +Pass e.style['font'] = "expanded oblique small-caps normal xx-large/1.2 cursive" should set the property value +Pass e.style['font'] = "extra-expanded italic small-caps 900 larger/calc(120% + 1.2em) fantasy" should set the property value Pass e.style['font'] = "ultra-expanded oblique bold smaller monospace" should set the property value Pass e.style['font'] = "ultra-condensed italic bolder normal 10px/normal Menu" should set the property value Fail e.style['font'] = "extra-condensed oblique lighter small-caps 20%/1.2 \"FB Armada\"" should set the property value -Fail e.style['font'] = "condensed small-caps calc(30% - 40px)/calc(120% + 1.2em) serif" should set the property value -Fail e.style['font'] = "semi-condensed small-caps normal xx-small sans-serif" should set the property value -Fail e.style['font'] = "semi-expanded small-caps normal normal medium/normal cursive" should set the property value -Fail e.style['font'] = "expanded small-caps normal italic xx-large/1.2 fantasy" should set the property value -Fail e.style['font'] = "extra-expanded small-caps normal 100 larger/calc(120% + 1.2em) monospace" should set the property value -Fail e.style['font'] = "ultra-expanded small-caps oblique smaller Menu" should set the property value -Fail e.style['font'] = "ultra-condensed small-caps italic normal 10px/normal \"FB Armada\"" should set the property value -Fail e.style['font'] = "extra-condensed small-caps oblique 900 20%/1.2 serif" should set the property value -Fail e.style['font'] = "condensed small-caps bold calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value -Fail e.style['font'] = "semi-condensed small-caps bolder normal xx-small cursive" should set the property value +Pass e.style['font'] = "condensed small-caps calc(30% - 40px)/calc(120% + 1.2em) serif" should set the property value +Pass e.style['font'] = "semi-condensed small-caps normal xx-small sans-serif" should set the property value +Pass e.style['font'] = "semi-expanded small-caps normal normal medium/normal cursive" should set the property value +Pass e.style['font'] = "expanded small-caps normal italic xx-large/1.2 fantasy" should set the property value +Pass e.style['font'] = "extra-expanded small-caps normal 100 larger/calc(120% + 1.2em) monospace" should set the property value +Pass e.style['font'] = "ultra-expanded small-caps oblique smaller Menu" should set the property value +Pass e.style['font'] = "ultra-condensed small-caps italic normal 10px/normal \"FB Armada\"" should set the property value +Pass e.style['font'] = "extra-condensed small-caps oblique 900 20%/1.2 serif" should set the property value +Pass e.style['font'] = "condensed small-caps bold calc(30% - 40px)/calc(120% + 1.2em) sans-serif" should set the property value +Pass e.style['font'] = "semi-condensed small-caps bolder normal xx-small cursive" should set the property value Fail e.style['font'] = "semi-expanded small-caps lighter italic medium/normal fantasy" should set the property value Pass e.style['font'] = "expanded 100 xx-large/1.2 monospace" should set the property value Pass e.style['font'] = "extra-expanded 900 normal larger/calc(120% + 1.2em) Menu" should set the property value @@ -315,7 +315,7 @@ Pass e.style['font'] = "ultra-condensed bolder normal oblique 10px/normal serif" Fail e.style['font'] = "extra-condensed lighter normal small-caps 20%/1.2 sans-serif" should set the property value Pass e.style['font'] = "condensed 100 italic calc(30% - 40px)/calc(120% + 1.2em) cursive" should set the property value Pass e.style['font'] = "semi-condensed 900 oblique normal xx-small fantasy" should set the property value -Fail e.style['font'] = "semi-expanded bold italic small-caps medium/normal monospace" should set the property value -Fail e.style['font'] = "expanded bolder small-caps xx-large/1.2 Menu" should set the property value +Pass e.style['font'] = "semi-expanded bold italic small-caps medium/normal monospace" should set the property value +Pass e.style['font'] = "expanded bolder small-caps xx-large/1.2 Menu" should set the property value Fail e.style['font'] = "extra-expanded lighter small-caps normal larger/calc(120% + 1.2em) \"FB Armada\"" should set the property value -Fail e.style['font'] = "ultra-expanded 100 small-caps oblique smaller serif" should set the property value \ No newline at end of file +Pass e.style['font'] = "ultra-expanded 100 small-caps oblique smaller serif" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-variant-serialization.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-variant-serialization.txt index c534082c341..d70e85622b2 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-variant-serialization.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-variant-serialization.txt @@ -2,5 +2,5 @@ Harness status: OK Found 1 tests -1 Fail -Fail checking serialized value of font-variant \ No newline at end of file +1 Pass +Pass checking serialized value of font-variant \ No newline at end of file