mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibWeb: Invalidate document style after Node.insertBefore()
This commit is contained in:
parent
cf49e93b04
commit
5b8290dfa3
Notes:
sideshowbarker
2024-07-17 17:21:29 +09:00
Author: https://github.com/awesomekling
Commit: 5b8290dfa3
1 changed files with 2 additions and 0 deletions
|
@ -334,6 +334,8 @@ void Node::insert_before(NonnullRefPtr<Node> node, RefPtr<Node> child, bool supp
|
||||||
}
|
}
|
||||||
|
|
||||||
children_changed();
|
children_changed();
|
||||||
|
|
||||||
|
document().invalidate_style();
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://dom.spec.whatwg.org/#concept-node-pre-insert
|
// https://dom.spec.whatwg.org/#concept-node-pre-insert
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue