X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/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");