[webkit-dev] How to obtain IntRect of each option element of select element?

Po-Yang Hsu hsupoyang at gmail.com
Thu Oct 25 23:28:57 PDT 2012


Hi webkit-dev,

Is there any method to obtain the position (or IntRect) of each option
element in the select element?

So far I can get the offsetLeft & offsetTop via methods of Element class
but this seems to be the screen offset of the select element. Thanks.

Regards,
yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121026/e353b51c/attachment.html>


More information about the webkit-dev mailing list