From efbfc0f9398d864efaa699f22fc329ddffe3cc1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez=20Moreno?= Date: Thu, 7 Mar 2019 15:51:11 +0100 Subject: [PATCH] Make devtools find node by unique id function include shadow trees --- components/script/devtools.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::() - .traverse_preorder(ShadowIncluding::No) + .traverse_preorder(ShadowIncluding::Yes) .find(|candidate| candidate.unique_id() == node_id) }) }