Skip to content

Truly independent web browser

LibWeb: Serialize font family names as identifier sequences

Andreas Kling6f746ad25b44
diff --git a/Libraries/LibWeb/Rust/src/css/parser/fonts_parser.rs b/Libraries/LibWeb/Rust/src/css/parser/fonts_parser.rs
index 88f97f43597..c2d807d9f32 100644
--- a/Libraries/LibWeb/Rust/src/css/parser/fonts_parser.rs
+++ b/Libraries/LibWeb/Rust/src/css/parser/fonts_parser.rs
@@ -118,6 +118,34 @@ fn parse_family_name(_context: &ParseContext, values: &[ComponentValue]) -> Opti
})
}
+// INTEROP: Chrome and Firefox serialize family names as unquoted identifier sequences when possible.
+// https://github.com/w3c/csswg-drafts/issues/5846
+fn font_family_name_can_be_unquoted(name: &[u16]) -> bool {
+ if !is_valid_custom_ident(name, &[]) {
+ return false;
+ }
+ let first_word = name.split(|&unit| unit == u16::from(b' ')).next().unwrap();
+ if keyword_from_ascii_case_insensitive(first_word)
+ .and_then(keyword_to_generic_font_family)
+ .is_some()
+ {
+ return false;
+ }
+ let is_ident_start = |unit| matches!(unit, 0x41..=0x5a | 0x61..=0x7a | 0x5f | 0x80..=0xffff);
+ name.split(|&unit| unit == u16::from(b' ')).all(|word| {
+ let mut units = word.iter().copied();
+ let Some(first) = units.next() else { return false };
+ let valid_start = if first == u16::from(b'-') {
+ units
+ .next()
+ .is_some_and(|unit| unit == u16::from(b'-') || is_ident_start(unit))
+ } else {
+ is_ident_start(first)
+ };
+ valid_start && units.all(|unit| is_ident_start(unit) || matches!(unit, 0x30..=0x39 | 0x2d))
+ })
+}
+
fn parse_font_family(context: &ParseContext, values: &[ComponentValue]) -> Option<StyleValueData> {
let families = values
.split(ComponentValue::is_comma)
@@ -131,7 +159,19 @@ fn parse_font_family(context: &ParseContext, values: &[ComponentValue]) -> Optio
{
return (single.len() == 1).then_some(StyleValueData::Keyword { keyword });
}
- parse_family_name(context, family)
+ // https://drafts.csswg.org/css-fonts-4/#family-name-syntax
+ // If a sequence of identifiers is given as a <font-family-name>, the computed value is the name converted
+ // to a string by joining all the identifiers in the sequence by single spaces.
+ let string = match parse_family_name(context, family)? {
+ StyleValueData::String { string, .. } => string,
+ StyleValueData::CustomIdent { custom_ident } => custom_ident,
+ _ => unreachable!("a family name is a string or an identifier sequence"),
+ };
+ Some(StyleValueData::String {
+ serialize_without_quotes: font_family_name_can_be_unquoted(string.units()),
+ is_valid_animation_name_custom_ident: is_valid_custom_ident(string.units(), &["none"]),
+ string,
+ })
})
.collect::<Option<Vec<_>>>()?;
(!families.is_empty()).then(|| value_list(families, 1, true))
diff --git a/Libraries/LibWeb/Rust/src/css/parser/value_parser.rs b/Libraries/LibWeb/Rust/src/css/parser/value_parser.rs
index 443af09d45c..6057deb3ee1 100644
--- a/Libraries/LibWeb/Rust/src/css/parser/value_parser.rs
+++ b/Libraries/LibWeb/Rust/src/css/parser/value_parser.rs
@@ -376,6 +376,7 @@ pub(crate) fn string_style_value(string: &[u16]) -> StyleValueData {
StyleValueData::String {
string: CssString::from_utf16(string),
is_valid_animation_name_custom_ident: is_valid_custom_ident(string, &["none"]),
+ serialize_without_quotes: false,
}
}
diff --git a/Libraries/LibWeb/Rust/src/css/serialize.rs b/Libraries/LibWeb/Rust/src/css/serialize.rs
index 03a6cb5b147..202cba79844 100644
--- a/Libraries/LibWeb/Rust/src/css/serialize.rs
+++ b/Libraries/LibWeb/Rust/src/css/serialize.rs
@@ -686,8 +686,18 @@ pub(crate) fn serialize_style_value(sink: &mut TextSink, value: &StyleValueData,
serialize_a_dimension(sink, *value, LENGTH_UNIT_NAMES[*unit as usize], mode);
}
}
- StyleValueData::String { string, .. } => {
- with_fly_string_units(string, |units| serialize_a_string(sink, &units));
+ StyleValueData::String {
+ string,
+ serialize_without_quotes,
+ ..
+ } => {
+ if *serialize_without_quotes {
+ for &unit in string.units() {
+ sink.push_code_unit(unit);
+ }
+ } else {
+ with_fly_string_units(string, |units| serialize_a_string(sink, &units));
+ }
}
StyleValueData::CustomIdent { custom_ident } => {
with_fly_string_units(custom_ident, |units| serialize_an_identifier(sink, &units));
diff --git a/Libraries/LibWeb/Rust/src/css/serialize/shorthand.rs b/Libraries/LibWeb/Rust/src/css/serialize/shorthand.rs
index 28cc338d97b..8833b39dd4b 100644
--- a/Libraries/LibWeb/Rust/src/css/serialize/shorthand.rs
+++ b/Libraries/LibWeb/Rust/src/css/serialize/shorthand.rs
@@ -54,7 +54,7 @@ mod tests {
(
property_id::FONT,
"italic small-caps bold condensed 20px / 1.5 '雪'",
- "italic small-caps bold condensed 20px / 1.5 \"雪\"",
+ "italic small-caps bold condensed 20px / 1.5 雪",
),
(
property_id::GRID,
diff --git a/Libraries/LibWeb/Rust/src/css/style_compute.rs b/Libraries/LibWeb/Rust/src/css/style_compute.rs
index dcc95513ec6..bc624019643 100644
--- a/Libraries/LibWeb/Rust/src/css/style_compute.rs
+++ b/Libraries/LibWeb/Rust/src/css/style_compute.rs
@@ -3191,6 +3191,7 @@ fn compute_animation_name(value: &StyleValueData) -> Option<Arc<StyleValueData>>
StyleValueData::String {
string,
is_valid_animation_name_custom_ident,
+ ..
} => Some(if *is_valid_animation_name_custom_ident {
RetainedStyleValueData::from_arc(Arc::new(StyleValueData::CustomIdent {
custom_ident: string.clone(),
diff --git a/Libraries/LibWeb/Rust/src/css/style_value.rs b/Libraries/LibWeb/Rust/src/css/style_value.rs
index c7bebbbd415..fd5f6bfd38c 100644
--- a/Libraries/LibWeb/Rust/src/css/style_value.rs
+++ b/Libraries/LibWeb/Rust/src/css/style_value.rs
@@ -1861,6 +1861,7 @@ pub enum StyleValueData {
String {
string: CssString,
is_valid_animation_name_custom_ident: bool,
+ serialize_without_quotes: bool,
},
/// An unrecognized CSS function, kept as its name and argument value.
Function {
diff --git a/Tests/LibWeb/Text/expected/css/font-family-serialization.txt b/Tests/LibWeb/Text/expected/css/font-family-serialization.txt
index d5a30e3494e..75a6398b915 100644
--- a/Tests/LibWeb/Text/expected/css/font-family-serialization.txt
+++ b/Tests/LibWeb/Text/expected/css/font-family-serialization.txt
@@ -1,6 +1,6 @@
-Unquoted words: FAIL
-Quoted words: FAIL
-Escaped space: FAIL
+Unquoted words: PASS
+Quoted words: PASS
+Escaped space: PASS
Repeated spaces: PASS
Leading space: PASS
Trailing space: PASS
@@ -8,10 +8,10 @@ Leading digit: PASS
Digit after hyphen: PASS
Lone hyphen: PASS
Punctuation: PASS
-Escaped punctuation: FAIL
+Escaped punctuation: PASS
CSS-wide keyword: PASS
Generic family name: PASS
-Quoted identifier: FAIL
-Unicode words: FAIL
-Family list: FAIL
+Quoted identifier: PASS
+Unicode words: PASS
+Family list: PASS
Custom identifier: PASS
diff --git a/Tests/LibWeb/Text/expected/css/native-shorthand-serialization.txt b/Tests/LibWeb/Text/expected/css/native-shorthand-serialization.txt
index 77bafda12ca..5bbe6b6d4f5 100644
--- a/Tests/LibWeb/Text/expected/css/native-shorthand-serialization.txt
+++ b/Tests/LibWeb/Text/expected/css/native-shorthand-serialization.txt
@@ -23,7 +23,7 @@ border-block: medium solid currentcolor => solid
border-inline: 1px solid red => 1px solid red
border-inline: medium solid currentcolor => solid
font: 16px serif => 16px serif
-font: italic small-caps bold condensed 20px / 1.5 '雪' => italic small-caps bold condensed 20px / 1.5 "雪"
+font: italic small-caps bold condensed 20px / 1.5 '雪' => italic small-caps bold condensed 20px / 1.5 雪
font-variant: normal => normal
font-variant: none => none
font-variant: small-caps oldstyle-nums => small-caps oldstyle-nums
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 b51822bc1ef..7aec6b1f3e9 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,7 @@ Harness status: OK
Found 315 tests
-271 Pass
-44 Fail
+315 Pass
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,306 +15,306 @@ 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'
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'
-Fail Property font value 'normal normal italic extra-condensed 10px/normal Non-Generic Example Family Name'
+Pass Property font value 'normal normal italic extra-condensed 10px/normal Non-Generic Example Family Name'
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'
Pass Property font value 'normal normal small-caps lighter medium/normal fantasy'
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'
-Fail Property font value 'normal normal 900 normal smaller Non-Generic Example Family Name'
+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'
Pass Property font value 'normal normal bolder small-caps 20%/1.2 sans-serif'
Pass 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'
Pass Property font value 'normal italic normal small-caps xx-small monospace'
Pass Property font value 'normal italic normal 900 medium/normal Menu'
-Fail Property font value 'normal italic normal extra-condensed xx-large/1.2 Non-Generic Example Family Name'
+Pass Property font value 'normal italic normal extra-condensed xx-large/1.2 Non-Generic Example Family Name'
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'
Pass 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'
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'
Pass 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'
+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'
+Pass Property font value 'normal small-caps italic lighter calc(30% - 40px)/calc(120% + 1.2em) Non-Generic Example Family Name'
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'
-Fail Property font value 'normal small-caps semi-expanded normal 20%/1.2 Non-Generic Example Family Name'
+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'
Pass 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'
Pass Property font value 'normal bold normal normal larger/calc(120% + 1.2em) monospace'
Pass Property font value 'normal bolder normal italic smaller Menu'
-Fail Property font value 'normal lighter normal small-caps 10px/normal Non-Generic Example Family Name'
+Pass Property font value 'normal lighter normal small-caps 10px/normal Non-Generic Example Family Name'
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'
Pass Property font value 'normal bolder italic small-caps medium/normal fantasy'
Pass Property font value 'normal lighter italic ultra-condensed xx-large/1.2 monospace'
Pass 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'
+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'
Pass 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'
Pass Property font value 'normal bold expanded small-caps xx-large/1.2 Menu'
-Fail Property font value 'normal extra-expanded larger/calc(120% + 1.2em) Non-Generic Example Family Name'
+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'
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'
-Fail Property font value 'normal expanded italic normal xx-large/1.2 Non-Generic Example Family Name'
+Pass Property font value 'normal expanded italic normal xx-large/1.2 Non-Generic Example Family Name'
Pass Property font value 'normal extra-expanded italic small-caps larger/calc(120% + 1.2em) serif'
Pass Property font value 'normal ultra-expanded italic lighter smaller sans-serif'
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'
-Fail Property font value 'normal semi-expanded 900 medium/normal Non-Generic Example Family Name'
+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'
Pass Property font value 'normal ultra-expanded lighter small-caps smaller cursive'
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'
-Fail Property font value 'italic normal normal normal xx-small Non-Generic Example Family Name'
+Pass Property font value 'italic normal normal normal xx-small Non-Generic Example Family Name'
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'
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'
-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 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'
Pass 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'
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'
-Fail Property font value 'italic small-caps bolder 10px/normal Non-Generic Example Family Name'
+Pass Property font value 'italic small-caps bolder 10px/normal Non-Generic Example Family Name'
Pass Property font value 'italic small-caps lighter normal 20%/1.2 serif'
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'
-Fail Property font value 'italic bolder normal smaller Non-Generic Example Family Name'
+Pass Property font value 'italic bolder normal smaller Non-Generic Example Family Name'
Pass Property font value 'italic lighter normal normal 10px/normal 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'
Pass Property font value 'italic bold small-caps xx-small fantasy'
Pass Property font value 'italic bolder small-caps normal medium/normal monospace'
Pass Property font value 'italic lighter small-caps expanded xx-large/1.2 Menu'
-Fail Property font value 'italic 100 extra-expanded larger/calc(120% + 1.2em) Non-Generic Example Family Name'
+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'
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'
Pass Property font value 'italic semi-expanded normal small-caps medium/normal Menu'
-Fail Property font value 'italic expanded normal bolder xx-large/1.2 Non-Generic Example Family Name'
+Pass Property font value 'italic expanded normal bolder xx-large/1.2 Non-Generic Example Family Name'
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'
Pass 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'
Pass 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'
+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'
-Fail Property font value 'small-caps normal italic xx-small Non-Generic Example Family Name'
+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'
Pass Property font value 'small-caps normal italic lighter xx-large/1.2 sans-serif'
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'
-Fail 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 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'
Pass Property font value 'small-caps normal condensed lighter larger/calc(120% + 1.2em) fantasy'
Pass Property font value 'small-caps italic smaller monospace'
Pass 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'
+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'
-Fail Property font value 'small-caps italic extra-expanded normal 10px/normal Non-Generic Example Family Name'
+Pass Property font value 'small-caps italic extra-expanded normal 10px/normal Non-Generic Example Family Name'
Pass Property font value 'small-caps italic ultra-expanded lighter 20%/1.2 serif'
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'
Pass 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'
+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'
Pass Property font value 'small-caps lighter semi-condensed normal xx-small fantasy'
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'
-Fail Property font value 'small-caps extra-expanded normal larger/calc(120% + 1.2em) Non-Generic Example Family Name'
+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'
-Fail Property font value 'small-caps expanded bolder xx-large/1.2 Non-Generic Example Family Name'
+Pass Property font value 'small-caps expanded bolder xx-large/1.2 Non-Generic Example Family Name'
Pass Property font value 'small-caps extra-expanded lighter normal larger/calc(120% + 1.2em) 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'
Pass Property font value 'lighter normal normal normal xx-small Menu'
-Fail Property font value '100 normal normal italic medium/normal Non-Generic Example Family Name'
+Pass Property font value '100 normal normal italic medium/normal Non-Generic Example Family Name'
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'
Pass Property font value 'lighter normal italic normal 10px/normal fantasy'
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'
+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'
Pass Property font value 'lighter normal small-caps italic xx-large/1.2 sans-serif'
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'
-Fail Property font value 'lighter normal extra-expanded small-caps calc(30% - 40px)/calc(120% + 1.2em) Non-Generic Example Family Name'
+Pass Property font value 'lighter normal extra-expanded small-caps calc(30% - 40px)/calc(120% + 1.2em) Non-Generic Example Family Name'
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'
Pass Property font value 'bolder italic normal small-caps larger/calc(120% + 1.2em) fantasy'
Pass Property font value 'lighter italic normal ultra-expanded smaller monospace'
Pass 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'
+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'
Pass Property font value 'lighter italic condensed normal medium/normal cursive'
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'
-Fail Property font value 'bolder small-caps normal normal 10px/normal Non-Generic Example Family Name'
+Pass Property font value 'bolder small-caps normal normal 10px/normal Non-Generic Example Family Name'
Pass Property font value 'lighter small-caps normal italic 20%/1.2 serif'
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'
Pass 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'
+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'
Pass Property font value 'lighter semi-condensed normal normal xx-small fantasy'
Pass Property font value '100 semi-expanded normal italic medium/normal monospace'
Pass Property font value '900 expanded normal small-caps xx-large/1.2 Menu'
-Fail Property font value 'bold extra-expanded italic larger/calc(120% + 1.2em) Non-Generic Example Family Name'
+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'
Pass Property font value 'lighter ultra-condensed italic small-caps 10px/normal sans-serif'
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'
-Fail Property font value 'expanded normal xx-large/1.2 Non-Generic Example Family Name'
+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'
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'
-Fail Property font value 'semi-expanded normal italic normal medium/normal Non-Generic Example Family Name'
+Pass Property font value 'semi-expanded normal italic normal medium/normal Non-Generic Example Family Name'
Pass Property font value 'expanded normal italic small-caps xx-large/1.2 serif'
Pass Property font value 'extra-expanded normal italic lighter larger/calc(120% + 1.2em) sans-serif'
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'
-Fail Property font value 'semi-condensed normal 900 xx-small Non-Generic Example Family Name'
+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'
Pass Property font value 'extra-expanded normal lighter small-caps larger/calc(120% + 1.2em) cursive'
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'
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'
+Pass Property font value 'extra-condensed italic lighter small-caps 20%/1.2 Non-Generic Example Family Name'
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'
-Fail Property font value 'ultra-condensed small-caps italic normal 10px/normal Non-Generic Example Family Name'
+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'
Pass 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'
-Fail Property font value 'ultra-expanded bold normal normal smaller Non-Generic Example Family Name'
+Pass Property font value 'ultra-expanded bold normal normal smaller Non-Generic Example Family Name'
Pass Property font value 'ultra-condensed bolder normal italic 10px/normal serif'
Pass 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'
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'
+Pass Property font value 'extra-expanded lighter small-caps normal larger/calc(120% + 1.2em) Non-Generic Example Family Name'
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-family-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-family-computed.txt
index c238efaddaa..72add38cdaa 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-family-computed.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-family-computed.txt
@@ -2,8 +2,7 @@ Harness status: OK
Found 10 tests
-9 Pass
-1 Fail
+10 Pass
Pass Property font-family value 'serif'
Pass Property font-family value 'sans-serif'
Pass Property font-family value 'cursive'
@@ -11,6 +10,6 @@ Pass Property font-family value 'fantasy'
Pass Property font-family value 'monospace'
Pass Property font-family value 'serif, sans-serif, cursive, fantasy, monospace'
Pass Property font-family value 'Helvetica, Verdana, sans-serif'
-Fail Property font-family value '"New Century Schoolbook", serif'
+Pass Property font-family value '"New Century Schoolbook", serif'
Pass Property font-family value '"21st Century", fantasy'
Pass Property font-family value '"inherit", "serif"'
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-family-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-family-valid.txt
index 336d6cbe3d3..9ebce5da261 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-family-valid.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-family-valid.txt
@@ -2,8 +2,7 @@ Harness status: OK
Found 11 tests
-10 Pass
-1 Fail
+11 Pass
Pass e.style['font-family'] = "Serif" should set the property value
Pass e.style['font-family'] = "Sans-Serif" should set the property value
Pass e.style['font-family'] = "Cursive" should set the property value
@@ -12,6 +11,6 @@ Pass e.style['font-family'] = "Monospace" should set the property value
Pass e.style['font-family'] = "System-UI" should set the property value
Pass e.style['font-family'] = "serif, sans-serif, cursive, fantasy, monospace, system-ui" should set the property value
Pass e.style['font-family'] = "Helvetica, Verdana, sans-serif" should set the property value
-Fail e.style['font-family'] = "\"New Century Schoolbook\", serif" should set the property value
+Pass e.style['font-family'] = "\"New Century Schoolbook\", serif" should set the property value
Pass e.style['font-family'] = "'21st Century', fantasy" should set the property value
Pass e.style['font-family'] = "\"inherit\", \"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-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/parsing/font-valid.txt
index 5a60448a860..94b2d3260b6 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,7 @@ Harness status: OK
Found 315 tests
-271 Pass
-44 Fail
+315 Pass
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,306 +15,306 @@ 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
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
-Fail e.style['font'] = "normal normal oblique extra-condensed 10px/normal FB Armada" should set the property value
+Pass e.style['font'] = "normal normal oblique extra-condensed 10px/normal FB Armada" 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
Pass e.style['font'] = "normal normal small-caps lighter medium/normal fantasy" 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
-Fail e.style['font'] = "normal normal 900 normal smaller FB Armada" 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
Pass e.style['font'] = "normal normal bolder small-caps 20%/1.2 sans-serif" should set the property value
Pass 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
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
-Fail e.style['font'] = "normal italic normal extra-condensed xx-large/1.2 FB Armada" 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
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
Pass 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
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
Pass 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
+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
+Pass e.style['font'] = "normal small-caps italic lighter calc(30% - 40px)/calc(120% + 1.2em) FB Armada" 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
-Fail 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 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
Pass 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
Pass e.style['font'] = "normal bold normal normal larger/calc(120% + 1.2em) monospace" should set the property value
Pass e.style['font'] = "normal bolder normal italic smaller Menu" should set the property value
-Fail e.style['font'] = "normal lighter normal small-caps 10px/normal FB Armada" should set the property value
+Pass e.style['font'] = "normal lighter normal small-caps 10px/normal FB Armada" should set the property value
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
Pass e.style['font'] = "normal bolder oblique small-caps medium/normal fantasy" should set the property value
Pass e.style['font'] = "normal lighter italic ultra-condensed xx-large/1.2 monospace" should set the property value
Pass 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
+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
Pass 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
Pass e.style['font'] = "normal bold expanded small-caps xx-large/1.2 Menu" should set the property value
-Fail e.style['font'] = "normal extra-expanded larger/calc(120% + 1.2em) FB Armada" 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
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
-Fail e.style['font'] = "normal expanded oblique normal xx-large/1.2 FB Armada" should set the property value
+Pass e.style['font'] = "normal expanded oblique normal xx-large/1.2 FB Armada" 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
Pass e.style['font'] = "normal ultra-expanded oblique lighter smaller sans-serif" 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
-Fail e.style['font'] = "normal semi-expanded 900 medium/normal FB Armada" 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
Pass e.style['font'] = "normal ultra-expanded lighter small-caps smaller cursive" should set the property value
Pass e.style['font'] = "italic 10px/normal fantasy" should set the property value
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
-Fail e.style['font'] = "oblique normal normal normal xx-small FB Armada" should set the property value
+Pass e.style['font'] = "oblique normal normal normal xx-small FB Armada" 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
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
-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'] = "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
Pass 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
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
-Fail e.style['font'] = "italic small-caps bolder 10px/normal FB Armada" should set the property value
+Pass e.style['font'] = "italic small-caps bolder 10px/normal FB Armada" should set the property value
Pass e.style['font'] = "oblique small-caps lighter normal 20%/1.2 serif" 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
-Fail e.style['font'] = "oblique bolder normal smaller FB Armada" should set the property value
+Pass e.style['font'] = "oblique bolder normal smaller FB Armada" should set the property value
Pass e.style['font'] = "italic lighter normal normal 10px/normal 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
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
Pass e.style['font'] = "oblique lighter small-caps expanded xx-large/1.2 Menu" should set the property value
-Fail e.style['font'] = "italic 100 extra-expanded larger/calc(120% + 1.2em) FB Armada" 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
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
Pass e.style['font'] = "italic semi-expanded normal small-caps medium/normal Menu" should set the property value
-Fail e.style['font'] = "oblique expanded normal bolder xx-large/1.2 FB Armada" should set the property value
+Pass e.style['font'] = "oblique expanded normal bolder xx-large/1.2 FB Armada" 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
Pass 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
Pass 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
+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
-Fail e.style['font'] = "small-caps normal oblique xx-small FB Armada" 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
Pass e.style['font'] = "small-caps normal oblique lighter xx-large/1.2 sans-serif" 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
-Fail 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 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
Pass e.style['font'] = "small-caps normal condensed lighter larger/calc(120% + 1.2em) fantasy" 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
-Fail e.style['font'] = "small-caps oblique normal normal 20%/1.2 FB Armada" 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
-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 italic extra-expanded normal 10px/normal FB Armada" should set the property value
Pass e.style['font'] = "small-caps oblique ultra-expanded lighter 20%/1.2 serif" 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
Pass 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
+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
Pass e.style['font'] = "small-caps lighter semi-condensed normal xx-small fantasy" 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
-Fail 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 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
-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 expanded bolder xx-large/1.2 FB Armada" should set the property value
Pass e.style['font'] = "small-caps extra-expanded lighter normal larger/calc(120% + 1.2em) 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
Pass e.style['font'] = "lighter normal normal normal xx-small Menu" should set the property value
-Fail e.style['font'] = "100 normal normal italic medium/normal FB Armada" should set the property value
+Pass e.style['font'] = "100 normal normal italic medium/normal FB Armada" 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
Pass e.style['font'] = "lighter normal italic normal 10px/normal fantasy" 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
+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
Pass e.style['font'] = "lighter normal small-caps oblique xx-large/1.2 sans-serif" 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
-Fail e.style['font'] = "lighter normal extra-expanded small-caps calc(30% - 40px)/calc(120% + 1.2em) FB Armada" should set the property value
+Pass e.style['font'] = "lighter normal extra-expanded small-caps calc(30% - 40px)/calc(120% + 1.2em) FB Armada" should set the property value
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
Pass e.style['font'] = "bolder italic normal small-caps larger/calc(120% + 1.2em) fantasy" should set the property value
Pass e.style['font'] = "lighter oblique normal ultra-expanded smaller monospace" should set the property value
Pass 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
+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
Pass e.style['font'] = "lighter italic condensed normal medium/normal cursive" 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
-Fail e.style['font'] = "bolder small-caps normal normal 10px/normal FB Armada" should set the property value
+Pass e.style['font'] = "bolder small-caps normal normal 10px/normal FB Armada" should set the property value
Pass e.style['font'] = "lighter small-caps normal italic 20%/1.2 serif" 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
Pass 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
+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
Pass 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
Pass e.style['font'] = "900 expanded normal small-caps xx-large/1.2 Menu" should set the property value
-Fail e.style['font'] = "bold extra-expanded italic larger/calc(120% + 1.2em) FB Armada" 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
Pass e.style['font'] = "lighter ultra-condensed italic small-caps 10px/normal sans-serif" 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
-Fail e.style['font'] = "expanded normal xx-large/1.2 FB Armada" 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
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
-Fail e.style['font'] = "semi-expanded normal italic normal medium/normal FB Armada" should set the property value
+Pass e.style['font'] = "semi-expanded normal italic normal medium/normal FB Armada" should set the property value
Pass e.style['font'] = "expanded normal oblique small-caps xx-large/1.2 serif" should set the property value
Pass e.style['font'] = "extra-expanded normal italic lighter larger/calc(120% + 1.2em) sans-serif" 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
-Fail e.style['font'] = "semi-condensed normal 900 xx-small FB Armada" 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
Pass e.style['font'] = "extra-expanded normal lighter small-caps larger/calc(120% + 1.2em) cursive" should set the property value
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
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
+Pass e.style['font'] = "extra-condensed oblique lighter small-caps 20%/1.2 FB Armada" 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
-Fail e.style['font'] = "ultra-condensed small-caps italic normal 10px/normal FB Armada" 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
Pass 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
-Fail e.style['font'] = "ultra-expanded bold normal normal smaller FB Armada" should set the property value
+Pass e.style['font'] = "ultra-expanded bold normal normal smaller FB Armada" should set the property value
Pass e.style['font'] = "ultra-condensed bolder normal oblique 10px/normal serif" should set the property value
Pass 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
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
+Pass e.style['font'] = "extra-expanded lighter small-caps normal larger/calc(120% + 1.2em) FB Armada" should set the property value
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-typed-om/the-stylepropertymap/properties/font-family.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-family.txt
index a22087bf7dd..4f23ab81a7a 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-family.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-typed-om/the-stylepropertymap/properties/font-family.txt
@@ -2,8 +2,8 @@ Harness status: OK
Found 3 tests
-1 Pass
-2 Fail
-Fail 'font-family' does not support 'Georgia'
+2 Pass
+1 Fail
+Pass 'font-family' does not support 'Georgia'
Pass 'font-family' does not support '"Gill Sans"'
Fail 'font-family' does not support 'sans-serif'
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-family-serialization-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-family-serialization-001.txt
index 4329855f4ce..ae24e753b5d 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-family-serialization-001.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-family-serialization-001.txt
@@ -2,19 +2,19 @@ Harness status: OK
Found 24 tests
-14 Pass
-10 Fail
+22 Pass
+2 Fail
Fail Serialization of <generic-family>
Pass Serialization of quoted "<generic-family>"
Fail Serialization of prefixed -webkit-<generic-family>
Pass Serialization of NonGenericFontFamilyName,-webkit-body,-webkit-standard,-webkit-pictograph,emoji,fangsong,BlinkMacSystemFont
-Fail Specified: multi-word family name serializes unquoted
-Fail Specified: quoted multi-word name normalizes to unquoted
-Fail Specified: three-word family name serializes unquoted
-Fail Computed: multi-word family name serializes unquoted
-Fail Computed: quoted multi-word name normalizes to unquoted
+Pass Specified: multi-word family name serializes unquoted
+Pass Specified: quoted multi-word name normalizes to unquoted
+Pass Specified: three-word family name serializes unquoted
+Pass Computed: multi-word family name serializes unquoted
+Pass Computed: quoted multi-word name normalizes to unquoted
Pass Specified: single-word family name
-Fail Specified: quoted single-word name normalizes to unquoted
+Pass Specified: quoted single-word name normalizes to unquoted
Pass Specified: digit-starting family name stays quoted
Pass Computed: digit-starting family name stays quoted
Pass Specified: single-digit family name stays quoted
@@ -26,5 +26,5 @@ Pass Specified: quoted 'inherit' stays quoted
Pass Specified: quoted 'unset' stays quoted
Pass Specified: quoted 'default' stays quoted
Pass Specified: double-space family name stays quoted
-Fail Specified: mixed font-family list serialization
-Fail Computed: mixed font-family list serialization
\ No newline at end of file
+Pass Specified: mixed font-family list serialization
+Pass Computed: mixed font-family list serialization
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt
index 780fce7902b..ed7112d6491 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt
@@ -2,8 +2,8 @@ Harness status: OK
Found 697 tests
-691 Pass
-6 Fail
+692 Pass
+5 Fail
Pass alignment-baseline: baseline
Pass alignment-baseline: text-bottom
Pass alignment-baseline: alphabetic
@@ -406,7 +406,7 @@ Pass float: right
Pass float: none
Pass float: inherit
Pass font-family: Arial
-Fail font-family: 'Lucida Grande'
+Pass font-family: 'Lucida Grande'
Pass font-family: serif
Pass font-family: sans-serif
Pass font-family: inherit
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/text/2d.text.font.parse.complex.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/text/2d.text.font.parse.complex.txt
index 26180a73258..10dab2acfc2 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/text/2d.text.font.parse.complex.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/text/2d.text.font.parse.complex.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Canvas test: 2d.text.font.parse.complex
\ No newline at end of file
+1 Pass
+Pass Canvas test: 2d.text.font.parse.complex
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/text/2d.text.font.parse.complex.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/text/2d.text.font.parse.complex.txt
index c30295e5135..28bdf853409 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/text/2d.text.font.parse.complex.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/text/2d.text.font.parse.complex.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail OffscreenCanvas test: 2d.text.font.parse.complex
\ No newline at end of file
+1 Pass
+Pass OffscreenCanvas test: 2d.text.font.parse.complex
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/text/2d.text.font.parse.complex.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/text/2d.text.font.parse.complex.worker.txt
index cd924677233..cf5877d439e 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/text/2d.text.font.parse.complex.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/text/2d.text.font.parse.complex.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail 2d
\ No newline at end of file
+1 Pass
+Pass 2d
\ No newline at end of file