You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by jm...@apache.org on 2007/10/22 19:57:06 UTC
svn commit: r587219 -
/incubator/xap/trunk/codebase/src/dojo/src/html/layout.js
Author: jmargaris
Date: Mon Oct 22 12:57:05 2007
New Revision: 587219
URL: http://svn.apache.org/viewvc?rev=587219&view=rev
Log:
efficiency change
Modified:
incubator/xap/trunk/codebase/src/dojo/src/html/layout.js
Modified: incubator/xap/trunk/codebase/src/dojo/src/html/layout.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/html/layout.js?rev=587219&r1=587218&r2=587219&view=diff
==============================================================================
--- incubator/xap/trunk/codebase/src/dojo/src/html/layout.js (original)
+++ incubator/xap/trunk/codebase/src/dojo/src/html/layout.js Mon Oct 22 12:57:05 2007
@@ -264,8 +264,8 @@
// summary
// Returns the width and height of the passed node's padding
return {
- width: dojo.html._sumPixelValues(node, ["padding-left", "padding-right"], true, ['paddingLeft','paddingRight']),
- height: dojo.html._sumPixelValues(node, ["padding-top", "padding-bottom"], true, ['paddingTop','paddingBottom'])
+ width: dojo.html._sumPixelValues2(node, ["padding-left", "padding-right"], true, ['paddingLeft','paddingRight']),
+ height: dojo.html._sumPixelValues2(node, ["padding-top", "padding-bottom"], true, ['paddingTop','paddingBottom'])
}; // object
}