ladybird/Libraries/LibWeb/HTML/EventLoop
Jelle Raaijmakers 3576f4a53a LibWeb: Don't throw away new scroll events after processing the old ones
Dispatching scroll events could cause new scroll events to get lined up
and added to `m_pending_scroll_events`. The spec then asks us to empty
out that list, removing those newly added events.

Prevent doing that by emptying out the list before iterating over the
events. Fixes part of the WPT test `html/webappapis/scripting/event-
loops/new-scroll-event-dispatched-at-next-updating-rendering-time.html`.
2026-02-13 22:44:17 +01:00
..
EventLoop.cpp LibWeb: Don't throw away new scroll events after processing the old ones 2026-02-13 22:44:17 +01:00
EventLoop.h LibWeb: Add a hook in EventLoop to call a task when reaching step 1 2025-10-27 17:28:49 -07:00
Task.cpp LibWeb: Add "parallel queue" and allow it as fetch task destination 2025-07-17 00:13:39 +02:00
Task.h LibWeb: Add the Crypto task source 2025-12-28 18:56:50 +01:00
TaskQueue.cpp LibWeb: Don't run tasks in documents that haven't been BC associated 2025-12-27 16:40:34 +01:00
TaskQueue.h LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00