mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 11:36:22 +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:
parent
02c4973681
commit
7f303729f3
Notes:
sideshowbarker
2024-07-17 05:01:20 +09:00
Author: https://github.com/mattco98
Commit: 7f303729f3
Pull-request: https://github.com/SerenityOS/serenity/pull/21844
2 changed files with 54 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue