This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The CSSStyleValue interface of the the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API. An instance of this class may be used anywhere a string is expected.


Sets a specific CSS property to the specified values and returns the first value as a CSSStyleValue object.
Sets all occurences of a specific CSS property to the specified valueand returns an array of CSSStyleValue objects, each containing one of the supplied values.


Specification Status Comment
CSS Typed OM Level 1
The definition of 'CSSStyleValue' in that specification.
Working Draft Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support66 No No No53 No
parse66 No No No53 No
parseAll66 No No No53 No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support6666 No No53 No ?
parse6666 No No53 No ?
parseAll6666 No No53 No ?

Document Tags and Contributors

Contributors to this page: jpmedley
Last updated by: jpmedley,