DOM2 Views - Description

The DOM2 AbstractViews module is the first step towards standardizing the window object. Currently, all it defines is a defaultView property of the document object (that contains a reference to the containing window object) and a getComputedStyles() method.

This script defines the document.defaultView property and maps a getComputedStyle() method to the currentStyle() property for an element. Currently, getComputedStyle() ignores any pseudo element argument you might provide it.

Script Engine / Document Object Model Required

( Javascript 1.0 | JScript 1.0 | ECMAScript 1.0 ) & DOM 1

Modification History

2003/03/14 v1.0


More about this script

Related to this script


This script is released under a Creative Commons License.