LibWeb: Schedule a layout update in Document::invalidate_layout()

Otherwise, nothing will repaint until someone else decides to trigger
an update.
This commit is contained in:
Andreas Kling 2022-09-14 21:23:39 +02:00
commit df49a6ae9b
Notes: sideshowbarker 2024-07-17 07:10:11 +09:00

View file

@ -757,6 +757,7 @@ void Document::force_layout()
void Document::invalidate_layout()
{
tear_down_layout_tree();
schedule_layout_update();
}
void Document::update_layout()