mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Use LengthPercentage for calc values in Transformation matrix
This commit is contained in:
committed by
Andreas Kling
parent
e2b2b2439c
commit
a8ef84f8c3
Notes:
sideshowbarker
2024-07-17 11:30:05 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/a8ef84f8c3 Pull-request: https://github.com/SerenityOS/serenity/pull/24443 Issue: https://github.com/SerenityOS/serenity/issues/23633 Issue: https://github.com/SerenityOS/serenity/issues/24375
@@ -870,7 +870,7 @@ static RefPtr<StyleValue const> interpolate_transform(DOM::Element& element, Sty
|
||||
values.append(AngleOrCalculated { value->as_angle().angle() });
|
||||
break;
|
||||
case StyleValue::Type::Calculated:
|
||||
values.append(AngleOrCalculated { value->as_calculated() });
|
||||
values.append(LengthPercentage { value->as_calculated() });
|
||||
break;
|
||||
case StyleValue::Type::Length:
|
||||
values.append(LengthPercentage { value->as_length().length() });
|
||||
|
||||
Reference in New Issue
Block a user