mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00: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: 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