CSSPrimitiveValue in DOM Level 2 CSS
(no overview available)
Inherits from:
Instance Properties
| name | type | description |
|---|---|---|
| cssText | String | [from CSSValue] |
| cssValueType | Number | (read only) [from CSSValue] |
| primitiveType | Number | (read only) |
Instance Methods
| name | returns | description |
|---|---|---|
| getCounterValue() | Counter | |
| getFloatValue() | Number | |
| getRectValue() | Rect | |
| getRGBColorValue() | RGBColor | |
| getStringValue() | String | |
| setFloatValue() | (none) | |
| setStringValue() | (none) |
Constants
| name | value | description |
|---|---|---|
| CSS_ATTR | 22 | |
| CSS_CM | 6 | |
| CSS_COUNTER | 23 | |
| CSS_DEG | 11 | |
| CSS_DIMENSION | 18 | |
| CSS_EMS | 3 | |
| CSS_EXS | 4 | |
| CSS_GRAD | 13 | |
| CSS_HZ | 16 | |
| CSS_IDENT | 21 | |
| CSS_IN | 8 | |
| CSS_KHZ | 17 | |
| CSS_MM | 7 | |
| CSS_MS | 14 | |
| CSS_NUMBER | 1 | |
| CSS_PC | 10 | |
| CSS_PERCENTAGE | 2 | |
| CSS_PT | 9 | |
| CSS_PX | 5 | |
| CSS_RAD | 12 | |
| CSS_RECT | 24 | |
| CSS_RGBCOLOR | 25 | |
| CSS_S | 15 | |
| CSS_STRING | 19 | |
| CSS_UNKNOWN | 0 | |
| CSS_URI | 20 |