AbstractView : Object

Base interface that all views derive from.

Browser/User Agent Support

IEMozillaNetscapeOperaSafariNetscapte
6.0+1.0+6.0+8.0+1.0+no

Constructors

ConstructorIEMozillaNetscapeOperaSafariNetscapte
Base interface that all views derive from.
6.0+1.0+6.0+8.0+1.0+no
 

Properties

PropertyIEMozillaNetscapeOperaSafariNetscapte
Implements the DocumentView interface.
6.0+1.0+6.0+8.0+1.0+no
 

Methods

MethodIEMozillaNetscapeOperaSafariNetscapte
Computes style information and returns the CSSStyleDeclaration for the specified document Element.
no1.0+6.0+8.0+nono
 

Remarks

All other views derive from the AbstractView interface.

References

Document.defaultView

Availability

HTML DOM Level 2 | W3C

Constructor Detail

AbstractView AbstractView()

Base interface that all views derive from.

Visibility
internal

Property Detail

DocumentView document - read only

Implements the DocumentView interface.

Remarks
Refers to the parent, or source DocumentView object that is abstracted by the current object.
Availability

HTML DOM Level 2 | W3C

Method Detail

getComputedStyle(Element elt, String pseudoElt) : static CSSStyleDeclaration

Computes style information and returns the CSSStyleDeclaration for the specified document Element.

ElementeltDocument element to get the style information for.
StringpseudoEltCSS pseudoelement.

For examples, see the quirksmode test page:

http://www.quirksmode.org/dom/tests/style.html

See Also

CSS2Properties | CSSStyleDeclaration | HTMLElement.style

Availability

HTML DOM Level 2