CSSStyleValue.parseAll()

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

The parseAll() method of the CSSStyleValue interface 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.

Syntax

CSSStyleValue.parseAll(property, value)

Parameters

property
A CSS property to set.
cssText
A comma-separated string containing one or more values to apply to the provided property.

Return value

An array of CSSStyleValue objects, each containing one of the supplied values.

Specifications

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

Browser compatibility

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

Document Tags and Contributors

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