Hi,

When a document is undergoing mutation via DOM manipulation, is there
a way to get the up to date element coordinates? In another word, can
following pseudo code give me the correct coordinates? If not, where
or how should I call "element.getBoundingClientRect()" to get what I
need? Thanks.


nsIDOMNSElement element = document.createElement("div");

bodyNode.appendChild(element);

element.getBoundingClientRect();
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to