             }
             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))
             {

import spark.layout.supportClasses.LayoutElementHelper;

/**
 *  Documentation is not currently available.
 *  
 *  @langversion 3.0
 *  @playerversion Flash 10
 *  @playerversion AIR 1.5

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

    /**
     *  @private 
     */
    override public function measure():void
    {
        super.measure();
