Set dirty descendants if node is connected

This commit is contained in:
Fernando Jiménez Moreno 2019-03-23 06:39:38 +01:00
parent 6bf1ca20a2
commit 59c634b259
3 changed files with 10 additions and 16 deletions

View file

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