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.

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

window
Bring your page to life with CSS transforms (Windows)

 

 

Show:
© 2015 Microsoft