mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-16 04:59:23 +00:00
LibWeb: Remove special casing for font oblique angle from CSS parser
This commit is contained in:
parent
27de4fdcea
commit
0aec8912c9
Notes:
github-actions[bot]
2025-09-24 10:41:58 +00:00
Author: https://github.com/tcl3
Commit: 0aec8912c9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6284
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 0 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue