webkitConvertPointFromNodeToPage method

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

Syntax

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

Parameters

node [in]

Type: Node

An object representing point pt's CSS coordinate space.

pt [in]

Type: WebKitPoint

A point object in CSS node coordinates (that is to be converted to page coordinates).

retVal [out, retval]

Type: WebKitPoint

Remarks

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

See also

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

 

 

Show:
© 2014 Microsoft