CSSStyleValue: parseAll() static method

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The parseAll() static method of the CSSStyleValue interface sets all occurrences of a specific CSS property to the specified value and returns an array of CSSStyleValue objects, each containing one of the supplied values.

Syntax

js
CSSStyleValue.parseAll(property, value)

Parameters

property

A CSS property to set.

value

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

Return value

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

Specifications

Specification
CSS Typed OM Level 1
# dom-cssstylevalue-parseall

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
parseAll() static method

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.

See also