pub trait HTMLObjectElementMethods<D: DomTypes> {
    // Required methods
    fn Type(&self) -> DOMString;
    fn SetType(&self, value: DOMString);
    fn GetForm(&self) -> Option<Root<Dom<HTMLFormElement>>>;
    fn WillValidate(&self) -> bool;
    fn Validity(&self) -> Root<Dom<ValidityState>>;
    fn ValidationMessage(&self) -> DOMString;
    fn CheckValidity(&self, _can_gc: CanGc) -> bool;
    fn ReportValidity(&self, _can_gc: CanGc) -> bool;
    fn SetCustomValidity(&self, error: DOMString);
}

Required Methods§

Implementors§