LibWeb: Remove special casing for font oblique angle from CSS parser

This commit is contained in:
Tim Ledbetter 2025-09-24 08:31:39 +01:00 committed by Sam Atkins
commit 0aec8912c9
Notes: github-actions[bot] 2025-09-24 10:41:58 +00:00
3 changed files with 0 additions and 6 deletions

View file

@ -2979,7 +2979,6 @@ RefPtr<StyleValue const> Parser::parse_font_style_value(TokenStream<ComponentVal
auto font_style = keyword_to_font_style(keyword_value->to_keyword());
VERIFY(font_style.has_value());
if (tokens.has_next_token() && keyword_value->to_keyword() == Keyword::Oblique) {
auto context_guard = push_temporary_value_parsing_context(SpecialContext::FontStyleObliqueAngle);
if (auto angle_value = parse_angle_value(tokens)) {
if (angle_value->is_angle()) {
auto angle = angle_value->as_angle().angle();