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.java
Organization http://groups.google.com
Message-ID <4fc8c31c-b665-48c3-925f-99598775ae26__25878.6349477761$1211250088$gmane$org@a9g2000prl.googlegroups.com>
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?