Base interface that all views derive from.
Browser/User Agent Support
| IE | Mozilla | Netscape | Opera | Safari | Netscapte | 6.0+ | 1.0+ | 6.0+ | 8.0+ | 1.0+ | no |
|---|
Constructors
| Constructor | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Base interface that all views derive from. | 6.0+ | 1.0+ | 6.0+ | 8.0+ | 1.0+ | no |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Implements the DocumentView interface. | 6.0+ | 1.0+ | 6.0+ | 8.0+ | 1.0+ | no |
Methods
| Method | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Computes style information and returns the CSSStyleDeclaration for the specified document Element. | no | 1.0+ | 6.0+ | 8.0+ | no | no |
Remarks
All other views derive from the AbstractView interface.
References
Availability
HTML DOM Level 2 | W3C
Constructor Detail
Property Detail
DocumentView document - read only
Implements the DocumentView interface.
- Remarks
- Refers to the parent, or source
DocumentViewobject 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.
| Element | elt | Document element to get the style information for. |
| String | pseudoElt | CSS pseudoelement. |
-
For examples, see the quirksmode test page:
- See Also
- Availability
HTML DOM Level 2
