LibWeb: Add 'Run the fullscreen steps'

Future commits will populate the pending list with events.
This commit is contained in:
Simon Farre
2025-03-20 15:38:20 +01:00
committed by Luke Wilde
parent 79de597f8a
commit f5ac0ccf6c
Notes: github-actions[bot] 2026-02-23 18:47:15 +00:00
4 changed files with 58 additions and 1 deletions

View File

@@ -423,7 +423,10 @@ void EventLoop::update_the_rendering()
document->update_animations_and_send_events(HighResolutionTime::relative_high_resolution_time(frame_timestamp, relevant_global_object(*document)));
};
// FIXME: 12. For each doc of docs, run the fullscreen steps for doc. [FULLSCREEN]
// 12. For each doc of docs, run the fullscreen steps for doc. [FULLSCREEN]
for (auto& document : docs) {
document->run_fullscreen_steps();
}
// FIXME: 13. For each doc of docs, if the user agent detects that the backing storage associated with a CanvasRenderingContext2D or an OffscreenCanvasRenderingContext2D, context, has been lost, then it must run the context lost steps for each such context: