style: Log a bit more information about invalidation collection.

This commit is contained in:
Emilio Cobos Álvarez 2017-11-29 19:23:53 +01:00
parent f1fe370117
commit dceda4465c
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 18 additions and 3 deletions

View file

@ -164,6 +164,21 @@ where
}
}
debug!("Collecting changes for: {:?}", element);
debug!(" > state: {:?}", state_changes);
debug!(
" > id changed: {:?} -> +{:?} -{:?}",
snapshot.id_changed(),
id_added,
id_removed
);
debug!(
" > class changed: {:?} -> +{:?} -{:?}",
snapshot.class_changed(),
classes_added,
classes_removed
);
let lookup_element =
if element.implemented_pseudo_element().is_some() {
element.pseudo_element_originating_element().unwrap()