mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-01 08:48:49 +00:00
LibWeb: Transition StyleComputer to Web Animations
With this commit, we are finally running animations off of the web animations spec! A lot of the work StyleComputer is doing is now done elsewhere. For example, fill-forward animations are handled by Animation::is_relevant() returning true in the after phase, meaning the "active_state_if_fill_forward" map is no longer needed.
This commit is contained in:
parent
b258ba2767
commit
ae3326a447
Notes:
sideshowbarker
2024-07-16 20:21:48 +09:00
Author: https://github.com/mattco98
Commit: ae3326a447
Pull-request: https://github.com/SerenityOS/serenity/pull/23311
Issue: https://github.com/SerenityOS/serenity/issues/21570
7 changed files with 270 additions and 647 deletions
|
@ -195,7 +195,8 @@ void EventLoop::process()
|
|||
document.evaluate_media_queries_and_report_changes();
|
||||
});
|
||||
|
||||
// FIXME: 10. For each fully active Document in docs, update animations and send events for that Document, passing in now as the timestamp. [WEBANIMATIONS]
|
||||
// 10. For each fully active Document in docs, update animations and send events for that Document, passing in now as the timestamp. [WEBANIMATIONS]
|
||||
// Note: This is handled by the document's animation timer
|
||||
|
||||
// FIXME: 11. For each fully active Document in docs, run the fullscreen steps for that Document, passing in now as the timestamp. [FULLSCREEN]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue