LibWeb: Treat font-variant values with unknown keywords as invalid

This commit is contained in:
Tim Ledbetter
2025-06-15 04:14:10 +01:00
committed by Alexander Kalenik
parent d89a67ffee
commit 7faeef8d0d
Notes: github-actions[bot] 2025-06-15 14:45:50 +00:00
2 changed files with 8 additions and 9 deletions

View File

@@ -2966,7 +2966,7 @@ RefPtr<CSSStyleValue const> Parser::parse_font_variant(TokenStream<ComponentValu
position_value = value.ptr();
break;
default:
break;
return nullptr;
}
}
}