Limited Availability
CSS object models
id: css-object-model-discouraged
CSS object model (DOM level 2)
The DOM level 2 style specification defined interfaces to access and modify CSS styles, such as
CSSValue and CSSPrimitiveValue, that were later excluded from the CSS object model.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
—
Unsupported
Mozilla Firefox
—
Unsupported
Apple Safari
10
Supported
Microsoft Edge
—
Unsupported
Mobile Browser Engine Support
Chrome Android
—
Firefox Android
—
Safari iOS
10
Specifications and References
MDN Browser Compat Data Keys:
api.CSSPrimitiveValue ↗
api.CSSPrimitiveValue.getCounterValue ↗
api.CSSPrimitiveValue.getFloatValue ↗
api.CSSPrimitiveValue.getRGBColorValue ↗
api.CSSPrimitiveValue.getRectValue ↗
api.CSSPrimitiveValue.getStringValue ↗
api.CSSPrimitiveValue.primitiveType ↗
api.CSSPrimitiveValue.setFloatValue ↗
api.CSSPrimitiveValue.setStringValue ↗
api.CSSValue ↗
api.CSSValue.cssText ↗
api.CSSValue.cssValueType ↗
api.CSSValueList ↗
api.CSSValueList.item ↗
api.CSSValueList.length ↗
api.Counter ↗
api.Counter.identifier ↗
api.Counter.listStyle ↗
api.Counter.separator ↗
api.Rect ↗
api.Rect.bottom ↗
api.Rect.left ↗
api.Rect.right ↗
api.Rect.top ↗