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
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue