mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
LibWeb: Schedule a relayout after setting CharacterData.data
This commit is contained in:
parent
28721874e8
commit
df5c123d8c
Notes:
sideshowbarker
2024-07-17 17:17:53 +09:00
Author: https://github.com/awesomekling
Commit: df5c123d8c
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ void CharacterData::set_data(String data)
|
|||
if (parent())
|
||||
parent()->children_changed();
|
||||
set_needs_style_update(true);
|
||||
document().set_needs_layout();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue