mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Log a bit more information about invalidation collection.
This commit is contained in:
parent
f1fe370117
commit
dceda4465c
2 changed files with 18 additions and 3 deletions
|
@ -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 =
|
let lookup_element =
|
||||||
if element.implemented_pseudo_element().is_some() {
|
if element.implemented_pseudo_element().is_some() {
|
||||||
element.pseudo_element_originating_element().unwrap()
|
element.pseudo_element_originating_element().unwrap()
|
||||||
|
|
|
@ -241,9 +241,9 @@ where
|
||||||
);
|
);
|
||||||
|
|
||||||
debug!("Collected invalidations (self: {}): ", invalidated_self);
|
debug!("Collected invalidations (self: {}): ", invalidated_self);
|
||||||
debug!(" > self: {:?}", descendant_invalidations);
|
debug!(" > self: {}, {:?}", self_invalidations.len(), self_invalidations);
|
||||||
debug!(" > descendants: {:?}", descendant_invalidations);
|
debug!(" > descendants: {}, {:?}", descendant_invalidations.len(), descendant_invalidations);
|
||||||
debug!(" > siblings: {:?}", sibling_invalidations);
|
debug!(" > siblings: {}, {:?}", sibling_invalidations.len(), sibling_invalidations);
|
||||||
|
|
||||||
let invalidated_self_from_collection = invalidated_self;
|
let invalidated_self_from_collection = invalidated_self;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue