mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
LibWeb: Schedule a relayout after setting Element.innerHTML
This commit is contained in:
parent
a2b9609793
commit
28721874e8
Notes:
sideshowbarker
2024-07-17 17:17:56 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/28721874e8
@ -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 {};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user