         // Remeasure if the composed width was restricted by max width.
         // Typical this is done in validateSize() after returing from measure() 
         // but it impacts our calculations so we need to do it now.
-        if (clampWidth &&
-            !isNaN(explicitMaxWidth) && bounds.width > explicitMaxWidth)
+        if (clampWidth && bounds.width > maxWidth)
         {
             _textContainerManager.compositionWidth = composeWidth;
             _textContainerManager.compose();


    /**
     *  @private
     *  Holds the last recorded value of the module factory used to create the font.
     */
    mx_internal var embeddedFontContext:IFlexModuleFactory;

    /**
     *  @private

import flash.events.Event;
import flash.events.FocusEvent;
import flash.events.KeyboardEvent;
import flash.events.MouseEvent;
import flash.geom.Matrix;
import flash.geom.Rectangle;
import flash.system.IME;
