How to find rendered position of an HTMLElement (in C++, not JS)?

David Faure faure at kde.org
Wed Jan 12 12:34:27 GMT 2005


On Tuesday 11 January 2005 23:32, Leo Savernik wrote:
> Am Dienstag, 11. Januar 2005 21:55 schrieb Jason Keirstead:
> [...]
> > Is there any (non-javascript) way to get the rendered position of an HTML
> > element using public KHTML API? [...]
> 
> Why don't you use DOM::Node::getRect?

Hmm, if it provides equivalent functionality then I change my mind :)
Not sure Jason saw the hint about getRect - cc'ing.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list