mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Treat font-variant values with unknown keywords as invalid
This commit is contained in:
committed by
Alexander Kalenik
parent
d89a67ffee
commit
7faeef8d0d
Notes:
github-actions[bot]
2025-06-15 14:45:50 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/7faeef8d0d2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5092
@@ -2966,7 +2966,7 @@ RefPtr<CSSStyleValue const> Parser::parse_font_variant(TokenStream<ComponentValu
|
||||
position_value = value.ptr();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user