mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:28:12 +00:00
LibWeb: Repaint entire viewport after document layout
This fixes an issue with the eyes on ACID2 not appearing until the page is repainted after loading.
This commit is contained in:
parent
93f656119c
commit
b34dd0fb24
3 changed files with 7 additions and 1 deletions
|
@ -420,7 +420,7 @@ void Document::update_layout()
|
|||
|
||||
root_formatting_context.run(*m_layout_root, Layout::LayoutMode::Default);
|
||||
|
||||
m_layout_root->set_needs_display();
|
||||
browsing_context()->set_needs_display();
|
||||
|
||||
if (browsing_context()->is_top_level()) {
|
||||
if (auto* page = this->page())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue