         }
         else if (element is StyleableTextField)
         {
-            // commit styles to get an accurate measurement
-            StyleableTextField(element).commitStyles();
-                
             return StyleableTextField(element).measuredTextSize.y;
         }
         else

    }
    
    /**
     *  A helper method to size the children of this item renderer.
     * 
     *  <p>You can use this method instead of checking for and using
     *  various interfaces such as ILayoutElement or IFlexDisplayObject.</p>
     *
     *  @param element The child to position.
     *
     *  @param x The width of the child.
     *
     *  @param y The height of the child.
     *
     *  @see #positionElement  
     * 
     *  @langversion 3.0
     *  @playerversion Flash 10.1
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     */
    protected function resizeElement(element:Object, width:Number, height:Number):void
    {
        if (element is ILayoutElement)
        {

        }
        else if (element is StyleableTextField)
        {
            return StyleableTextField(element).measuredTextSize.x;
        }
        else
