[webkit-help] Computing clientX & clientY for a Node.

Sam White samuel_white at apple.com
Mon Mar 5 09:01:19 PST 2012


Hey WebKit,

I'm trying to compute clientX & clientY for a Node in a way that is relative to the viewport. So far I've only found the absoluteBoundingBoxRect function on renderObject but the rect it returns is relative to the document. Any help with this would be great.

Thanks
Sam


More information about the webkit-help mailing list