mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibWeb: Schedule a relayout after setting Element.innerHTML
This commit is contained in:
parent
a2b9609793
commit
28721874e8
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue