LibWeb: Update PageView content size on page relayout

If the layout changes and the page becomes taller or shorter for some
reason, we need to update the PageView's scrollable content size.
This commit is contained in:
Andreas Kling 2020-06-23 18:02:08 +02:00
commit 78f10942ba
Notes: sideshowbarker 2024-07-19 05:25:31 +09:00
4 changed files with 9 additions and 0 deletions

View file

@ -245,6 +245,8 @@ void Document::layout()
}
m_layout_root->layout();
m_layout_root->set_needs_display();
frame()->page().client().page_did_layout();
}
void Document::update_style()