WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

CSSValueList

This object is available to unprivileged JavaScript. It implements the following interfaces:

Constants

The nsIDOMCSSValue interface is a datatype for a CSS value in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Style

short CSS_INHERIT = 0
short CSS_PRIMITIVE_VALUE = 1
short CSS_VALUE_LIST = 2
short CSS_CUSTOM = 3

Properties

String cssText

readonly short cssValueType

readonly int length

The nsIDOMCSSValueList interface is a datatype for a list of CSS values in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Style


Methods

CSSValue item ( int index )

CSSValue item ( int index )

Arguments:
index

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com