CSSStyleRule.styleMap

Draft
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 StylePropertMap object which provides access the rule's property-value pairs.

Syntax

var stylePropertyMap = CSSStyleRule.styleMap;

Value

A StylePropertMap object.

Specifications

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
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
styleMapChrome Full support 65Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android Full support 65Chrome Android Full support 65Edge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

Document Tags and Contributors

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