X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775:/docs/source/ext-base-dom.html diff --git a/docs/source/ext-base-dom.html b/docs/source/ext-base-dom.html index 6c12d372..857ba636 100644 --- a/docs/source/ext-base-dom.html +++ b/docs/source/ext-base-dom.html @@ -1,14 +1,21 @@ - -
-(function(){ + + ++ \ No newline at end of fileThe source code + + + + +/*! + * Ext JS Library 3.0.3 + * Copyright(c) 2006-2009 Ext JS, LLC + * licensing@extjs.com + * http://www.extjs.com/license + */ +(function(){ var doc = document, isCSS1 = doc.compatMode == "CSS1Compat", MAX = Math.max, + ROUND = Math.round, PARSEINT = parseInt; Ext.lib.Dom = { @@ -86,7 +93,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"); @@ -155,6 +162,6 @@ this.setXY(el, [false, y]); } }; -})();- +})();