[webkit-dev] the absolute coordinates in the webkit

Ariya Hidayat ariya.hidayat at trolltech.com
Thu Jan 8 02:17:16 PST 2009

> Now I want to obtain  the absolute coordinates of  <img> in the webkit,
> Through code how to achieve

Hint: have a look at RenderImage::paintReplaced() function. If you get the 
render object for that <img>, which is a RenderImage instance, then you are 


Ariya Hidayat, Software Engineer
Qt Software, Nokia Devices R&D

More information about the webkit-dev mailing list