0 Replies Latest reply on Aug 19, 2009 3:11 PM by Carol L. Frampton

    [svn:fx-trunk] 9407: Reordering the if-statement in isMeasureFixed() exposed that hostFormat can be null when measure() is called if styles changed and measure is done before the next commitProperties .

    Carol L. Frampton Level 2

      Revision: 9407

      Author:   cframpto@adobe.com

      Date:     2009-08-19 15:11:34 -0700 (Wed, 19 Aug 2009)

       

      Log Message:

      ***********

      Reordering the if-statement in isMeasureFixed() exposed that hostFormat can be null when measure() is called if styles changed and measure is done before the next commitProperties.  This states test exposed this.

       

      We should rethink if we want to clear hostFormat rather than have a hostFormatChanged flag.  If there is no hostFormat at measure then it has to be fixed because there is no line break format to check for auto-size.

       

      QE notes:

      Doc notes:

      Bugs: SDK-22779

      Reviewer: Gordon

      Tests run: checkintests

      Is noteworthy for integration: no

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-22779

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as