summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/CSS/StyleComputer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp b/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp
index 0f4c201f8c..4e8a121c46 100644
--- a/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp
+++ b/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp
@@ -1344,7 +1344,7 @@ Gfx::IntRect StyleComputer::viewport_rect() const
void StyleComputer::did_load_font([[maybe_unused]] FlyString const& family_name)
{
- document().invalidate_style();
+ document().invalidate_layout();
}
void StyleComputer::load_fonts_from_sheet(CSSStyleSheet const& sheet)