X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/source/ext-base-dom.html
diff --git a/docs/source/ext-base-dom.html b/docs/source/ext-base-dom.html
index 6c12d372..30b24e19 100644
--- a/docs/source/ext-base-dom.html
+++ b/docs/source/ext-base-dom.html
@@ -1,5 +1,6 @@
+
The source code
@@ -9,6 +10,7 @@
var doc = document,
isCSS1 = doc.compatMode == "CSS1Compat",
MAX = Math.max,
+ ROUND = Math.round,
PARSEINT = parseInt;
Ext.lib.Dom = {
@@ -86,7 +88,7 @@
if (el.getBoundingClientRect) {
b = el.getBoundingClientRect();
scroll = fly(document).getScroll();
- ret = [b.left + scroll.left, b.top + scroll.top];
+ ret = [ROUND(b.left + scroll.left), ROUND(b.top + scroll.top)];
} else {
p = el;
hasAbsolute = fly(el).isStyle("position", "absolute");