1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:37:46 +00:00

LibWeb: Support making a document active after it has completely loaded

So far, we always call make_active() before update_readiness
(Complete), but this will soon not be the case once we implement the
spec document-loading algorithms.

Co-authored-by: Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
This commit is contained in:
Sam Atkins 2023-12-26 12:10:21 +00:00 committed by Andreas Kling
parent ad8ccd4c52
commit a20951fbc0
2 changed files with 14 additions and 3 deletions

View file

@ -767,6 +767,8 @@ private:
// https://www.w3.org/TR/web-animations-1/#pending-animation-event-queue
Vector<PendingAnimationEvent> m_pending_animation_event_queue;
bool m_needs_to_call_page_did_load { false };
};
template<>