ladybird/Libraries/LibWeb/HTML/EventLoop
Andreas Kling f07b55c2df LibWeb: Scroll the viewport on the compositor thread
Use the snapshot from the previous commit to let CompositorThread apply
experimental viewport wheel deltas when async scrolling is enabled. The
event handler first performs synchronous admission on the main thread,
then enqueues a compositor scroll command instead of mutating live
document scroll state directly.

Rasterize accepted scrolls through the same compositor presentation
path added earlier. The compositor stores the newest async viewport
offset so the next main-thread display-list recording can adopt it
before repainting, preventing older paints from snapping the visible
position backward.

Keep DOM wheel dispatch on the main thread. When the compositor already
performed the default action, dispatch the wheel as non-cancelable and
suppress a second default scroll. Non-viewport targets, nested
scrollers, and pages with blocking wheel listeners stay synchronous.
2026-05-12 20:57:08 +02:00
..
EventLoop.cpp LibWeb: Scroll the viewport on the compositor thread 2026-05-12 20:57:08 +02:00
EventLoop.h LibWeb: Remove unused m_skip_event_loop_processing_steps flag 2026-04-27 20:58:54 +02:00
Task.cpp LibWeb: Remove tasks for destroyed documents when filtering on tasks 2026-03-22 14:26:50 -05:00
Task.h LibWeb: Implement makeXRCompatible() enough to work 2026-04-03 13:14:33 +02:00
TaskQueue.cpp LibWeb: Prevent running permanently unrunnable tasks in EventLoop 2026-03-26 18:48:27 +01:00
TaskQueue.h LibWeb: Prevent running permanently unrunnable tasks in EventLoop 2026-03-26 18:48:27 +01:00