aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/script/devtools.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/devtools.rs b/components/script/devtools.rs
index 9abeb5cf988..087930042e6 100644
--- a/components/script/devtools.rs
+++ b/components/script/devtools.rs
@@ -103,7 +103,7 @@ fn find_node_by_unique_id(
documents.find_document(pipeline).and_then(|document| {
document
.upcast::<Node>()
- .traverse_preorder(ShadowIncluding::No)
+ .traverse_preorder(ShadowIncluding::Yes)
.find(|candidate| candidate.unique_id() == node_id)
})
}