From 4740ce53a0cfe64e82ecedd02667390327805f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez=20Moreno?= Date: Mon, 28 Jan 2019 15:57:42 +0100 Subject: [PATCH] Make note_dirty_descendants jump around shadow roots --- components/script/dom/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index 6c509d70c16..9a248e7263f 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -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; }