Matthew Olsson
1915e603c9
LibWeb: Implement AnimationEffect progress helper functions
...
This excludes transformed_progress (which is the progress value used to
interpolate CSS values) as it requires a timing function
2023-11-09 16:08:50 +01:00
Matthew Olsson
7f303729f3
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).
2023-11-09 16:08:50 +01:00
Matthew Olsson
02c4973681
LibWeb: Implement AnimationEffect's phase helpers
2023-11-09 16:08:50 +01:00
Matthew Olsson
6a9c03482f
LibWeb: Implement AnimationEffect's active_boundary time getters
2023-11-09 16:08:50 +01:00
Matthew Olsson
baf5220212
LibWeb: Implement some AnimationEffect timing-related helpers
...
end_time, local_time, and active_duration
2023-11-09 16:08:50 +01:00
Matthew Olsson
d6fb1c24f6
LibWeb: Implement AnimationEffect::animation_direction()
2023-11-09 16:08:50 +01:00
Matthew Olsson
2358f64d00
LibWeb: Implement Animation::set_effect()
2023-11-09 16:08:50 +01:00
Matthew Olsson
1ca46afa2f
LibWeb: Add the Animation IDL object
2023-11-08 09:58:18 +01:00
Matthew Olsson
0df06ce273
LibWeb: Add the AnimationEffect IDL object
2023-11-08 09:58:18 +01:00
Matthew Olsson
13ae2a4dab
LibWeb: Store all timelines associated with a document on the document
...
This will be required for propagating the current animation time to all
relevant timelines, which each propagate that time to all of their
relevant animations.
2023-11-07 15:17:09 +01:00
Matthew Olsson
734076946b
LibWeb: Add DocumentTimeline IDL object
2023-11-07 15:17:09 +01:00
Matthew Olsson
521f8bd5f2
LibWeb: Add AnimationTimeline IDL object
2023-11-07 15:17:09 +01:00