StylePropertyMap

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

The StylePropertyMap interface of the the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.

Properties

StylePropertyMap.append()
Adds a new CSS declaration to the StylePropertyMap with the given property and value.
StylePropertyMap.clear()
Removes all declarations in the StylePropertyMap.
StylePropertyMap.delete()
Removes the CSS declaration with the given property.
StylePropertyMap.set()
Changes the CSS declaration with the given property.

Specifications

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

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support66 No No No53 No
append66 No No No53 No
clear66 No No No53 No
delete66 No No No53 No
set66 No No No53 No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support6666 No No53 No ?
append6666 No No53 No ?
clear6666 No No53 No ?
delete6666 No No53 No ?
set6666 No No53 No ?

Document Tags and Contributors

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