非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。

is an interface, which existed only briefly in the CSS Transforms Level 1 specification, which represents a point in 2-dimensional space. It is non-standard, not broadly compatible, and should not be used.

Although it is not directly related to this defunct interface, you are probably looking for DOMPoint , which is part of the Geometry Interfaces Module Level 1 规范。

特性

x

A floating-point value specifying the point's position with respect to the X (horizontal) axis.

y

A floating-point value specifying the point's position with respect to the Y (vertical) axis.

规范

This class was specified in the defunct 20 March 2009 Working Draft of CSS 2D Transforms Module Level 3 . It is not present in the current working draft of the CSS Transforms Level 1 规范。

浏览器兼容性

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. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
弃用 非标 Chrome ? Edge ≤18 Firefox No IE ? Opera ? Safari Yes Prefixed
Yes Prefixed
Prefixed Implemented with the vendor prefix: WebKit
WebView Android ? Chrome Android ? Firefox Android No Opera Android ? Safari iOS Yes Prefixed
Yes Prefixed
Prefixed Implemented with the vendor prefix: WebKit
Samsung Internet Android ?
x 弃用 非标 Chrome ? Edge ≤18 Firefox No IE ? Opera ? Safari Yes WebView Android ? Chrome Android ? Firefox Android No Opera Android ? Safari iOS Yes Samsung Internet Android ?
y 弃用 非标 Chrome ? Edge ≤18 Firefox No IE ? Opera ? Safari Yes WebView Android ? Chrome Android ? Firefox Android No Opera Android ? Safari iOS Yes Samsung Internet Android ?

图例

完整支持

完整支持

不支持

不支持

兼容性未知 ?

兼容性未知

非标。预期跨浏览器支持较差。

非标。预期跨浏览器支持较差。

弃用。不要用于新网站。

弃用。不要用于新网站。

要求使用供应商前缀或不同名称。

要求使用供应商前缀或不同名称。

另请参阅

元数据

  • 最后修改: