Function script::dom::node::containing_shadow_root

source ยท
pub fn containing_shadow_root<T: DerivedFrom<Node> + DomObject>(
    derived: &T,
) -> Option<Root<Dom<ShadowRoot>>>