CSSMathSum()

Draft: This page is not complete.

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

The CSSMathSum() constructor creates a new CSSMathSum object which creates a new CSSKeywordValue object which represents the result obtained by calling add(), sub(), or toSum() on CSSNumericValue.

Syntax

var CSSMathSum = new CSSMathSum(values)

Parameters

values

One or more double integers or CSSNumericValue objects.

Specifications

Specification
CSS Typed OM Level 2 (CSS Typed OM 2)
# dom-cssmathsum-cssmathsum

Browser compatibility

BCD tables only load in the browser