Struct xpcom::interfaces::nsIDOMHTMLElement [] [src]

#[repr(C)]
pub struct nsIDOMHTMLElement { /* fields omitted */ }

interface nsIDOMHTMLElement : nsIDOMElement

Methods

impl nsIDOMHTMLElement
[src]

[src]

Cast this nsIDOMHTMLElement to one of its base interfaces.

impl nsIDOMHTMLElement
[src]

[src]

/**
 * The nsIDOMHTMLElement interface is the primary [X]HTML element
 * interface. It represents a single [X]HTML element in the document
 * tree.
 *
 * This interface is trying to follow the DOM Level 2 HTML specification:
 * http://www.w3.org/TR/DOM-Level-2-HTML/
 *
 * with changes from the work-in-progress WHATWG HTML specification:
 * http://www.whatwg.org/specs/web-apps/current-work/
 */

readonly attribute boolean draggable;

[src]

readonly attribute boolean spellcheck;

[src]

readonly attribute long offsetWidth;

[src]

readonly attribute long offsetHeight;

Methods from Deref<Target = nsIDOMElement>

[src]

Cast this nsIDOMElement to one of its base interfaces.

[src]

/**
 * The nsIDOMElement interface represents an element in an HTML or
 * XML document.
 *
 * For more information on this interface please see
 * http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-element
 */

readonly attribute DOMString tagName;

[src]

readonly attribute nsIDOMMozNamedAttrMap attributes;

[src]

DOMString getAttribute (in DOMString name);

[src]

void setAttribute (in DOMString name, in DOMString value);

[src]

boolean hasAttribute (in DOMString name);

[src]

nsIDOMAttr getAttributeNode (in DOMString name);

[src]

nsIDOMAttr getAttributeNodeNS (in DOMString namespaceURI, in DOMString localName);

Trait Implementations

impl XpCom for nsIDOMHTMLElement
[src]

IID: nsIID = nsID(2965644178, 53479, 20330, [190, 181, 166, 152, 206, 100, 137, 69])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIDOMHTMLElement
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMHTMLElement
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.