pub trait AttrMethods<D>where
    D: DomTypes,{
    // Required methods
    fn GetNamespaceURI(&self) -> Option<DOMString>;
    fn GetPrefix(&self) -> Option<DOMString>;
    fn LocalName(&self) -> DOMString;
    fn Name(&self) -> DOMString;
    fn Value(&self) -> DOMString;
    fn SetValue(&self, value: DOMString, _can_gc: CanGc) -> Result<(), Error>;
    fn GetOwnerElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
    fn Specified(&self) -> bool;
}