How to get the rendered dom element's coordinate infos in JAVAXPCOM

网事随风 <[email protected]> Mon, 19 May 2008 19:18:42 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.oji
Organization http://groups.google.com
Message-ID <[email protected]>
I want to know the exact position (X, Y, width and height) of dom
element of a HTML. How can I achive this using JAVAXPCOM?