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

Required Methods§

Implementors§