mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:57:44 +00:00
LibWeb: Mark elements for style update after their children change
This commit is contained in:
parent
1b6f0f857e
commit
edbd8b22e8
2 changed files with 7 additions and 0 deletions
|
@ -389,4 +389,10 @@ int Element::client_height() const
|
|||
return box.absolute_rect().height();
|
||||
}
|
||||
|
||||
void Element::children_changed()
|
||||
{
|
||||
Node::children_changed();
|
||||
set_needs_style_update(true);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue