Szkic: Strona ta nie jest jeszcze ukończona.

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

The CSSNumericValue interface of the CSS Typed Object Model API represents operations that all numeric values can perform.

Interfaces based on CSSNumericValue

Below is a list of interfaces based on the CSSNumericValue interface.



Event handlers



CSSNumericValue.add (en-US)
Adds a supplied number to the CSSNumericValue.
CSSNumericValue.sub (en-US)
Subtracts a supplied number from the CSSNumericValue.
CSSNumericValue.mul (en-US)
Multiplies the CSSNumericValue by the supplied value.
Divides the CSSNumericValue by the supplied value.
CSSNumericValue.min (en-US)
Returns the minimum value passed
CSSNumericValue.max (en-US)
Returns the maximum value passed
CSSNumericValue.equals (en-US)
True if all the values are the exact same type and value, in the same order. Otherwise, false.
CSSNumericValue.to (en-US)
Converts value into another one with the specified unit.
CSSNumericValue.toSum (en-US)
CSSNumericValue.type (en-US)
CSSNumericValue.parse (en-US)
Allows a CSSNumericValue to be constructed directly from a string containing CSS. 


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

Browser compatibility

BCD tables only load in the browser

See Also