mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Set dirty descendants if node is connected
This commit is contained in:
parent
6bf1ca20a2
commit
59c634b259
3 changed files with 10 additions and 16 deletions
|
@ -645,7 +645,7 @@ impl Document {
|
|||
}
|
||||
|
||||
pub fn content_and_heritage_changed(&self, node: &Node) {
|
||||
if node.is_in_doc() {
|
||||
if node.is_connected() {
|
||||
node.note_dirty_descendants();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue