This page is not complete.

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

The styleMap read-only property of the CSSStyleRule interface returns a StylePropertyMap object which provides access the rule's property-value pairs.


var stylePropertyMap = CSSStyleRule.styleMap;


A StylePropertyMap object.


Specification Status Comment
CSS Object Model (CSSOM)
The definition of 'styleMap' in that specification.
Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
styleMapChrome Full support 65Edge ? Firefox ? IE ? Opera Full support YesSafari ? WebView Android Full support 65Chrome Android Full support 65Edge Mobile ? Firefox Android ? Opera Android Full support YesSafari iOS ? Samsung Internet Android ?


Full support  
Full support
Compatibility unknown  
Compatibility unknown

Document Tags and Contributors

Contributors to this page: Puddingsan, mdnwebdocs-bot, jpmedley
Last updated by: Puddingsan,