Make note_dirty_descendants jump around shadow roots

This commit is contained in:
Fernando Jiménez Moreno 2019-01-28 15:57:42 +01:00
parent ea69bbc75b
commit 4740ce53a0

View file

@ -560,7 +560,7 @@ impl Node {
pub fn note_dirty_descendants(&self) {
debug_assert!(self.is_connected());
for ancestor in self.inclusive_ancestors() {
for ancestor in self.shadow_including_inclusive_ancestors() {
if ancestor.get_flag(NodeFlags::HAS_DIRTY_DESCENDANTS) {
return;
}