         // If verticalAlign is top, we don't need to figure out the contentHeight.
         // Otherwise the contentHeight is used to position the element and even size 
         // the element if it's "contentJustify" or "justify".
-        var contentHeight:Number = targetHeight;
+        var containerHeight:Number = targetHeight;
         
         
         // TODO: in the middle or bottom case, we end up calculating percentHeight 

                else
                    layoutElementHeight = layoutElement.getPreferredBoundsHeight();
                    
                contentHeight = Math.max(contentHeight, layoutElementHeight);
            }
        }


    }

    //  - virtual layout only - 
    private function calculateElementY(elt:ILayoutElement, eltHeight:Number, containerHeight:Number):Number
    {
       switch(verticalAlign)
       {
           case VerticalAlign.MIDDLE: 
               return (containerHeight - eltHeight) * 0.5;
           case VerticalAlign.BOTTOM: 
               return containerHeight - eltHeight;
       }
       return 0;  // VerticalAlign.TOP
    }
