mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibWeb: Invalidate layout when a DOM node is removed from the tree
This commit is contained in:
parent
5c6621547c
commit
f36cbd3b65
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ void Node::remove(bool suppress_observers)
|
|||
// 21. Run the children changed steps for parent.
|
||||
parent->children_changed();
|
||||
|
||||
document().invalidate_style();
|
||||
document().invalidate_layout();
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#concept-node-replace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue