Do not set dirty out-of-doc nodes

This commit is contained in:
Fernando Jiménez Moreno 2019-02-19 19:00:29 +01:00
parent e66438de48
commit d7b6a6f509
5 changed files with 15 additions and 3 deletions

View file

@ -644,7 +644,7 @@ impl Document {
}
pub fn content_and_heritage_changed(&self, node: &Node) {
if node.is_connected() {
if node.is_in_doc() {
node.note_dirty_descendants();
}