summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/CharacterData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/CharacterData.cpp')
-rw-r--r--Userland/Libraries/LibWeb/DOM/CharacterData.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/CharacterData.cpp b/Userland/Libraries/LibWeb/DOM/CharacterData.cpp
index d49b041193..ec96b5d932 100644
--- a/Userland/Libraries/LibWeb/DOM/CharacterData.cpp
+++ b/Userland/Libraries/LibWeb/DOM/CharacterData.cpp
@@ -24,8 +24,7 @@ void CharacterData::set_data(String data)
if (m_data == data)
return;
m_data = move(data);
- // FIXME: This is definitely too aggressive.
- document().schedule_forced_layout();
+ set_needs_style_update(true);
}
}