diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-16 14:52:03 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-16 18:06:45 +0100 |
commit | 28721874e891c363c927129782503c421aa46908 (patch) | |
tree | cd612137c5d4aed2e35cea2de449e671e2738c38 /Userland/Libraries | |
parent | a2b960979379b641830920bfed2a3fb0f9e30b72 (diff) | |
download | serenity-28721874e891c363c927129782503c421aa46908.zip |
LibWeb: Schedule a relayout after setting Element.innerHTML
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Element.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Element.cpp b/Userland/Libraries/LibWeb/DOM/Element.cpp index 7004a9c534..30bc862768 100644 --- a/Userland/Libraries/LibWeb/DOM/Element.cpp +++ b/Userland/Libraries/LibWeb/DOM/Element.cpp @@ -352,6 +352,7 @@ ExceptionOr<void> Element::set_inner_html(String const& markup) return result.exception(); set_needs_style_update(true); + document().set_needs_layout(); return {}; } |