             }
             else if (!isNaN(baseline))
             {
-                // TODO EGeorgie: move baselinePosition to ILayoutElement.
-                extY = baseline - IVisualElement(layoutElement).baselinePosition;
+                extY = baseline - layoutElement.baselinePosition;
             }
             else if (!isNaN(top) || !isNaN(bottom))
             {

    //
    //--------------------------------------------------------------------------

    override public function measure():void
    {
        super.measure();

        }
    }

    /**
     *  @private 
     */
    override public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    {
        super.updateDisplayList(unscaledWidth, unscaledHeight);
