CSSMathProduct

The CSSMathProduct interface of the CSS_Object_Model#css_typed_object_model represents the result obtained by calling add(), sub(), or toSum() on CSSNumericValue. It inherits properties and methods from its parent CSSNumericValue.

CSSStyleValue CSSNumericValue CSSMathValue CSSMathProduct

Constructor

CSSMathProduct() Experimental

Creates a new CSSMathProduct object.

Instance properties

CSSMathProduct.values

Returns a CSSNumericArray object which contains one or more CSSNumericValue objects.

Static methods

The interface may also inherit methods from its parent interface, CSSMathValue.

Instance methods

The interface may also inherit methods from its parent interface, CSSMathValue.

Specifications

Specification
CSS Typed OM Level 1
# cssmathproduct

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
CSSMathProduct
CSSMathProduct() constructor
Experimental
values