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/07/07 01:43:00 UTC

svn commit: r554110 - /incubator/xap/trunk/codebase/src/xap/widgets/dojo/VerticalPanel.js

Author: jmargaris
Date: Fri Jul  6 18:42:59 2007
New Revision: 554110

URL: http://svn.apache.org/viewvc?view=rev&rev=554110
Log:
getBoxSizing changed to work with more browser-native components

Modified:
    incubator/xap/trunk/codebase/src/xap/widgets/dojo/VerticalPanel.js

Modified: incubator/xap/trunk/codebase/src/xap/widgets/dojo/VerticalPanel.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/widgets/dojo/VerticalPanel.js?view=diff&rev=554110&r1=554109&r2=554110
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/widgets/dojo/VerticalPanel.js (original)
+++ incubator/xap/trunk/codebase/src/xap/widgets/dojo/VerticalPanel.js Fri Jul  6 18:42:59 2007
@@ -198,8 +198,9 @@
 //the setOuterHeight stuff doesn't really work for table...this is just a hack for now...
 //This still hase some browser specific issues
 dojo.style.getBoxSizing = function(node){
-	if (node.nodeName=='table' || node.nodeName=='TABLE'){
-		
+	if (node.nodeName=='table' || node.nodeName=='TABLE' ||
+		node.nodeName=='input' || node.nodeName=='INPUT' ||
+		node.nodeName=='textarea' || node.nodeName=='TEXTAREA'){
 		//do this in IE6 only???
 		if ( dojo.render.html.ie){
 			return dojo.style.boxSizing.CONTENT_BOX;