pub trait ShadowRootMethods {
    // Required methods
    fn Mode(&self) -> ShadowRootMode;
    fn Host(&self) -> Root<Dom<Element>>;
    fn ElementFromPoint(
        &self,
        x: Finite<f64>,
        y: Finite<f64>
    ) -> Option<Root<Dom<Element>>>;
    fn ElementsFromPoint(
        &self,
        x: Finite<f64>,
        y: Finite<f64>
    ) -> Vec<Root<Dom<Element>>>;
    fn GetActiveElement(&self) -> Option<Root<Dom<Element>>>;
    fn StyleSheets(&self) -> Root<Dom<StyleSheetList>>;
}

Required Methods§

Implementors§