LibWeb: Implement plumbing for view transitions

This implements large parts of the CSS view-transitions-1 spec.
This commit is contained in:
Psychpsyo 2025-03-23 12:38:21 +01:00 committed by Sam Atkins
commit 56739b4b16
Notes: github-actions[bot] 2025-09-07 12:59:13 +00:00
22 changed files with 1516 additions and 4 deletions

View file

@ -458,7 +458,10 @@ void EventLoop::update_the_rendering()
// FIXME: 17. For each doc of docs, if the focused area of doc is not a focusable area, then run the focusing steps for doc's viewport, and set doc's relevant global object's navigation API's focus changed during ongoing navigation to false.
// FIXME: 18. For each doc of docs, perform pending transition operations for doc. [CSSVIEWTRANSITIONS]
// 18. For each doc of docs, perform pending transition operations for doc. [CSSVIEWTRANSITIONS]
for (auto& document : docs) {
document->perform_pending_transition_operations();
}
// 19. For each doc of docs, run the update intersection observations steps for doc, passing in the relative high resolution time given now and doc's relevant global object as the timestamp. [INTERSECTIONOBSERVER]
for (auto& document : docs) {