CSSMathSum
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
CSS Typed Object Model API 的 CSSMathSum
接口通过调用CSSNumericValue
的 add()
, sub()
, 或 toSum()
方法获得结果。
创建
CSSMathSum.CSSMathSum()
-
创建一个新的
CSSMathSum
对象。
属性
CSSMathSum.values
-
返回一个包含一个或多个
CSSNumericValue
对象的CSSNumericArray
对象。
事件处理
No
方法
None.
说明
Specification |
---|
CSS Typed OM Level 1 # cssmathsum |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
CSSMathSum | ||||||||||||
CSSMathSum() constructor | ||||||||||||
values |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.