pub(crate) trait ElementInternalsMethods<D: DomTypes> {
    // Required methods
    fn GetShadowRoot(&self) -> Option<DomRoot<D::ShadowRoot>>;
    fn SetFormValue(
        &self,
        value: Option<FileOrUSVStringOrFormData<D>>,
        state: Option<Option<FileOrUSVStringOrFormData<D>>>,
    ) -> Fallible<()>;
    fn GetForm(&self) -> Fallible<Option<DomRoot<D::HTMLFormElement>>>;
    fn SetValidity(
        &self,
        flags: &ValidityStateFlags,
        message: Option<DOMString>,
        anchor: Option<&D::HTMLElement>,
    ) -> Fallible<()>;
    fn GetWillValidate(&self) -> Fallible<bool>;
    fn GetValidity(&self) -> Fallible<DomRoot<D::ValidityState>>;
    fn GetValidationMessage(&self) -> Fallible<DOMString>;
    fn CheckValidity(&self, _can_gc: CanGc) -> Fallible<bool>;
    fn ReportValidity(&self, _can_gc: CanGc) -> Fallible<bool>;
    fn GetLabels(&self) -> Fallible<DomRoot<D::NodeList>>;
}

Required Methods§

Implementors§