 
     }
 
-    // TODO EGeorgie: can we use the standart IInvalidating methods instead of
-    // notifyElementLayerChanged()?
-    
     /**
      *  Utility method that notifies the host that this element has changed and needs
      *  its layer to be updated.
      */
     protected function notifyElementLayerChanged():void
     {
-        // TODO EGeorgie: figure this out. For now, invalidateDisplayList
-        // to preseve original behavior before layout API unification.
-        invalidateDisplayList();
         if (parent)
             Group(parent).graphicElementLayerChanged(this);
     }

     */
    protected function get drawX():Number
    {
    	// If we have a display object and we might be shared, the display object 
    	// gets moved to 0,0. Otherwise, use the x position plus the offset. 
    	// (Note that in the first case, the offset is already calculated when the
    	// layout matrix is applied to the display object). 
    	if (displayObject != null && nextSiblingNeedsDisplayObject)
    		return 0;
        if(layoutFeatures != null && layoutFeatures.offsets != null)
            return x + layoutFeatures.offsets.x;
		return x;
    }
    
    //----------------------------------
    //  drawY
    //----------------------------------

     */
    public function createDisplayObject():DisplayObject
    {
        return new InvalidatingSprite();
    }
    
    private var _alwaysCreateDisplayObject:Boolean;
