webkitConvertPointFromPageToNode method
Converts a point pt object from page coordinates to CSS node coordinates.
Syntax
var retVal = window.webkitConvertPointFromPageToNode(node, pt);Parameters
- node [in]
-
Type: Node
An object representing the CSS coordinate space to convert the given point pt to.
- pt [in]
-
Type: WebKitPoint
A point in page coordinates (that is to be converted to CSS node coordinates).
- retVal [out, retval]
-
Type: WebKitPoint
Remarks
This method returns a WebKitPoint point object that is in the same location as pt but in node coordinates.
See also
Show: