LibWeb: Schedule a relayout after setting Element.innerHTML

This commit is contained in:
Andreas Kling 2022-03-16 14:52:03 +01:00
parent a2b9609793
commit 28721874e8
Notes: sideshowbarker 2024-07-17 17:17:56 +09:00

View File

@ -352,6 +352,7 @@ ExceptionOr<void> Element::set_inner_html(String const& markup)
return result.exception(); return result.exception();
set_needs_style_update(true); set_needs_style_update(true);
document().set_needs_layout();
return {}; return {};
} }