Skip to content
Permalink
Browse files

Make devtools find node by unique id function include shadow trees

  • Loading branch information...
ferjm committed Mar 7, 2019
1 parent 5a165c6 commit efbfc0f9398d864efaa699f22fc329ddffe3cc1d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)
})
}

0 comments on commit efbfc0f

Please sign in to comment.
You can’t perform that action at this time.