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 APICSSMathSum 接口通过调用CSSNumericValueadd(), 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 GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
CSSMathSum
CSSMathSum() constructor
Experimental
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.