     //  Overridden properties: GraphicElement
     //
     //--------------------------------------------------------------------------
-    
+        
+    //----------------------------------
+    //  baselinePosition
+    //----------------------------------
+
+    [Inspectable(category="General")]
+
+    /**
+     *  @private
+     */
+    override public function get baselinePosition():Number
+    {
+        mx_internal::validateBaselinePosition();
+        
+        // Return the baseline of the first line of composed text.
+        return mx_internal::textLines.length > 0 ?
+			   mx_internal::textLines[0].y : 0;
+    }
+
     //----------------------------------
     //  needsDisplayObject
     //----------------------------------

    /**
     *  @private
     */
    override protected function updateDisplayList(unscaledWidth:Number, 
                                                  unscaledHeight:Number):void
    {
        /*
        var g:Graphics = Sprite(displayObject).graphics;
        
        // TODO EGeorgie: clearing the graphics needs to be shared when
        // the display objects are shared.
        g.clear();

        g.lineStyle()
        g.beginFill(0xCCCCCC);
        g.drawRect(0, 0, unscaledWidth, unscaledHeight);
        g.endFill();
        */
    }

    //--------------------------------------------------------------------------
    //
    //  Methods: ISimpleStyleClient

package mx.graphics.baseClasses
{

import flash.display.DisplayObjectContainer;
import flash.display.Graphics;
import flash.display.Sprite;
import flash.geom.Rectangle;
import flash.text.engine.TextLine;

import mx.core.mx_internal;
import mx.styles.CSSStyleDeclaration;
