mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb: Support relative lengths within easing function calc()s
This commit is contained in:
Notes:
github-actions[bot]
2025-10-20 10:29:08 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/755a576013e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6459 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -41,10 +41,10 @@ public:
|
||||
static CubicBezier ease_out();
|
||||
static CubicBezier ease_in_out();
|
||||
|
||||
NumberOrCalculated x1 { 0 };
|
||||
NumberOrCalculated y1 { 0 };
|
||||
NumberOrCalculated x2 { 0 };
|
||||
NumberOrCalculated y2 { 0 };
|
||||
ValueComparingNonnullRefPtr<StyleValue const> x1;
|
||||
ValueComparingNonnullRefPtr<StyleValue const> y1;
|
||||
ValueComparingNonnullRefPtr<StyleValue const> x2;
|
||||
ValueComparingNonnullRefPtr<StyleValue const> y2;
|
||||
|
||||
struct CachedSample {
|
||||
double x;
|
||||
@@ -66,8 +66,8 @@ public:
|
||||
static Steps step_start();
|
||||
static Steps step_end();
|
||||
|
||||
IntegerOrCalculated number_of_intervals { 1 };
|
||||
StepPosition position { StepPosition::End };
|
||||
ValueComparingNonnullRefPtr<StyleValue const> number_of_intervals;
|
||||
StepPosition position;
|
||||
|
||||
bool operator==(Steps const&) const = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user