mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02: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:
committed by
Andreas Kling
parent
b258ba2767
commit
ae3326a447
Notes:
sideshowbarker
2024-07-16 20:21:48 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/ae3326a447 Pull-request: https://github.com/SerenityOS/serenity/pull/23311 Issue: https://github.com/SerenityOS/serenity/issues/21570
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user