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

Syntax

var stylePropertyMap = CSSStyleRule.styleMap;

Value

A StylePropertyMap 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 AndroidFirefox 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 65Firefox Android ? Opera Android Full support YesSafari iOS ? Samsung Internet Android Full support 9.0

Legend

Full support Ā 
Full support
Compatibility unknown Ā 
Compatibility unknown