Web/API/Point

From Get docs

Non-standard This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.


Point 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 specification.


Properties

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.

Specifications

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 specification.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet

Point

Deprecated'Non-standard'

Chrome

?

Edge

Full support ≤18

Firefox

No support No

IE

?

Opera

?

Safari Full support Yes

Prefixed'

Full support Yes

Prefixed'

Prefixed' Implemented with the vendor prefix: WebKit

WebView Android

?

Chrome Android

?

Firefox Android

No support No

Opera Android

?

Safari iOS Full support Yes

Prefixed'

Full support Yes

Prefixed'

Prefixed' Implemented with the vendor prefix: WebKit

Samsung Internet Android

?

x

Deprecated'Non-standard'

Chrome

?

Edge

Full support ≤18

Firefox

No support No

IE

?

Opera

?

Safari

Full support Yes

WebView Android

?

Chrome Android

?

Firefox Android

No support No

Opera Android

?

Safari iOS

Full support Yes

Samsung Internet Android

?

y

Deprecated'Non-standard'

Chrome

?

Edge

Full support ≤18

Firefox

No support No

IE

?

Opera

?

Safari

Full support Yes

WebView Android

?

Chrome Android

?

Firefox Android

No support No

Opera Android

?

Safari iOS

Full support Yes

Samsung Internet Android

?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Non-standard. Expect poor cross-browser support.'
Non-standard. Expect poor cross-browser support.
Deprecated. Not for use in new websites.'
Deprecated. Not for use in new websites.
Requires a vendor prefix or different name for use.'
Requires a vendor prefix or different name for use.


See also

Point by Mozilla Contributors is licensed under CC-BY-SA 2.5.