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

@ -4107,10 +4107,6 @@ RefPtr<StyleValue const> Parser::parse_calculated_value(ComponentValue const& co
},
[](SpecialContext special_context) -> Optional<CalculationContext> {
switch (special_context) {
case SpecialContext::FontStyleObliqueAngle:
return CalculationContext {
.accepted_type_ranges = { { ValueType::Angle, { -90, 90 } } }
};
case SpecialContext::ShadowBlurRadius:
return CalculationContext { .accepted_type_ranges = { { ValueType::Length, { 0, NumericLimits<float>::max() } } } };
case SpecialContext::TranslateZArgument: