CSSMathInvert: CSSMathInvert() constructor
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The CSSMathInvert() constructor creates a
new CSSMathInvert object which represents a CSS
calc() used as calc(1 / value)
Syntax
js
new CSSMathInvert(arg)
Parameters
Exceptions
RangeError-
Raised if the arg is 0 or -0.
Examples
To do
Specifications
| Specification |
|---|
| CSS Typed OM Level 1 # dom-cssmathinvert-cssmathinvert |
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CSSMathInvert() constructor
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.