-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
46 lines (31 loc) · 1.78 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
title: "Window: webkitConvertPointFromNodeToPage() method"
short-title: webkitConvertPointFromNodeToPage()
slug: Web/API/Window/webkitConvertPointFromNodeToPage
page-type: web-api-instance-method
status:
- deprecated
- non-standard
browser-compat: api.Window.webkitConvertPointFromNodeToPage
---
{{APIRef}}{{Non-standard_header}}{{Deprecated_Header}}
Given a {{domxref("WebKitPoint")}} specified in a particular DOM {{domxref("Node")}}'s coordinate system, the {{domxref("Window")}} method **`webkitConvertPointFromNodeToPage()`** returns a `Point` which specifies the same position in the page's coordinate system. This method is non-standard and _should not be used_.
> **Warning:** Please review the [Browser compatibility](#browser_compatibility) section before using this method, as it's not widely supported (nor is the {{domxref("WebKitPoint")}} object it uses).
## Syntax
```js-nolint
webkitConvertPointFromNodeToPage(node, nodePoint)
```
### Parameters
- `node`
- : The {{domxref("Node")}} in whose coordinate system the `Point` specified by `nodePoint` is described.
- `nodePoint`
- : A {{domxref("WebKitPoint")}} object describing a point in `node`'s coordinate system; this point will be converted to the page's coordinate system.
### Return value
A {{domxref("WebKitPoint")}} object specifying a point in the page's coordinate system.
## Specifications
This method was specified in [the defunct 20 March 2009 Working Draft of CSS 2D Transforms Module Level 3](https://www.w3.org/TR/2009/WD-css3-2d-transforms-20090320/). It is not present in the current CSS Transforms Module Level 1 Working Draft.
## Browser compatibility
{{Compat}}
## See also
- {{domxref("Window.webkitConvertPointFromPageToNode")}}
- Mozilla implementation bug: [Firefox bug 850806](https://bugzil.la/850806)