CSS object model (DOM level 2)
Discouraged
This feature is discouraged. Consider using CSS object model instead. For the rationale, see:
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.
Learning resources on MDN
Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌
- Firefox for Android ❌
- Safari 10 Released on 2016-09-20
- Safari on iOS 10 Released on 2016-09-13
Specifications
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature