         }
         else
         {
-            if (hasPercentHeight(layoutElement))
+            if (!isNaN(layoutElement.percentHeight))
                newHeight = calculatePercentHeight(layoutElement, height);   
         }
         

                continue;
            }
            
            if (hasPercentWidth(layoutElement) && variableColumnWidth)
            {
                totalPercentWidth += layoutElement.percentWidth;


                    continue;
                
                var layoutElementHeight:Number;
                if (!isNaN(layoutElement.percentHeight))
                    layoutElementHeight = calculatePercentHeight(layoutElement, targetHeight);
                else
                    layoutElementHeight = layoutElement.getPreferredBoundsHeight();
