1
Fork 0
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:
Andreas Kling 2021-10-12 17:53:52 +02:00
parent 1b6f0f857e
commit edbd8b22e8
2 changed files with 7 additions and 0 deletions

View file

@ -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);
}
}