mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Allow calc()
values in cubic-bezier()
easing functions
This commit is contained in:
parent
c5a3eaaf45
commit
fa1e02e5d7
Notes:
github-actions[bot]
2025-06-18 06:58:15 +00:00
Author: https://github.com/tcl3
Commit: fa1e02e5d7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5123
Reviewed-by: https://github.com/gmta ✅
5 changed files with 58 additions and 31 deletions
|
@ -47,10 +47,10 @@ public:
|
|||
static CubicBezier ease_out();
|
||||
static CubicBezier ease_in_out();
|
||||
|
||||
double x1;
|
||||
double y1;
|
||||
double x2;
|
||||
double y2;
|
||||
NumberOrCalculated x1 { 0 };
|
||||
NumberOrCalculated y1 { 0 };
|
||||
NumberOrCalculated x2 { 0 };
|
||||
NumberOrCalculated y2 { 0 };
|
||||
|
||||
struct CachedSample {
|
||||
double x;
|
||||
|
@ -79,7 +79,7 @@ public:
|
|||
static Steps step_start();
|
||||
static Steps step_end();
|
||||
|
||||
IntegerOrCalculated number_of_intervals { 0 };
|
||||
IntegerOrCalculated number_of_intervals { 1 };
|
||||
Position position { Position::End };
|
||||
|
||||
bool operator==(Steps const&) const = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue