ladybird/Libraries/LibWeb/HTML/EventLoop
Aliaksandr Kalenik 0c5b61b7e1 LibWeb: Fix infinite repaint loop when cached display list is used
Before this change, `m_needs_repaint` was reset in
`Document::record_display_list()` only when the cached display list was
absent. This meant that if the last triggered repaint used the cached
display list, we would keep repainting indefinitely until the display
list was invalidated (We schedule a task that checks if repainting is
required 60/s).

This change also moves `m_needs_repaint` from Document to
TraversableNavigable as we only ever need to repaint a document that
belongs to traversable.
2025-02-01 23:31:16 +01:00
..
EventLoop.cpp LibWeb: Fix infinite repaint loop when cached display list is used 2025-02-01 23:31:16 +01:00
EventLoop.h LibWeb: Remove EventLoop::documents_in_this_event_loop() 2024-11-24 19:28:13 +00:00
Task.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Task.h LibWeb: Add WebSocket task source 2024-11-15 23:18:10 +01:00
TaskQueue.cpp LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
TaskQueue.h LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00