nsIDOMCSSPrimitiveValue
The nsIDOMCSSPrimitiveValue interface is a datatype for a primitive
CSS value in the Document Object Model.
For more information on this interface please see
http://www.w3.org/TR/DOM-Level-2-Style
Methods
setFloatValue(unitType, floatValue)
getFloatValue(unitType)
setStringValue(stringType, stringValue)
getStringValue()
getCounterValue()
getRectValue()
Attributes
primitiveType
Constants
CSS_UNKNOWN
CSS_NUMBER
CSS_PERCENTAGE
CSS_EMS
CSS_EXS
CSS_PX
CSS_CM
CSS_MM
CSS_IN
CSS_PT
CSS_PC
CSS_DEG
CSS_RAD
CSS_GRAD
CSS_MS
CSS_S
CSS_HZ
CSS_KHZ
CSS_DIMENSION
CSS_STRING
CSS_URI
CSS_IDENT
CSS_ATTR
CSS_COUNTER
CSS_RECT
CSS_RGBCOLOR