Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

webkitConvertPointFromPageToNode method

Converts a point pt object from page coordinates to CSS node coordinates.


var retVal = window.webkitConvertPointFromPageToNode(node, pt);


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


This method returns a WebKitPoint point object that is in the same location as pt but in node coordinates.

See also

Bring your page to life with CSS transforms (Windows)



© 2015 Microsoft