1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:37:45 +00:00

LibWeb: Implement AnimationEffect::active_time()

This is split into two functions since there are other places in the
specification that invoke this algorithm with a particular FillMode
(i.e. not the one that the object has in m_fill_mode).
This commit is contained in:
Matthew Olsson 2023-11-04 11:38:23 -07:00 committed by Andreas Kling
parent 02c4973681
commit 7f303729f3
2 changed files with 54 additions and 0 deletions

View file

@ -97,6 +97,8 @@ public:
double end_time() const;
Optional<double> local_time() const;
double active_duration() const;
Optional<double> active_time() const;
Optional<double> active_time_using_fill(Bindings::FillMode) const;
double before_active_boundary_time() const;
double after_active_boundary_time() const;