0 Replies Latest reply on Jan 26, 2009 11:58 AM by (Paul_Reilly)

    [svn] 4671: * Added PropertyReference() support for CSS.

    Level 1
      Revision: 4671
      Author: preilly@adobe.com
      Date: 2009-01-26 11:58:43 -0800 (Mon, 26 Jan 2009)

      Log Message:
      * Added PropertyReference() support for CSS. PropertyReference()
      support was not added for I18N due to lack of a good use case.
      PropertyReference() works like ClassReference(), except instead of a
      class name argument, a property name should be used. For example

      private var right:String;

        textAlign: PropertyReference("right")

      * Disabled pseudo data binding support in CSS for Flex 4 apps.
      PropertyReference() allows for explicit property references, so the
      implicit pseudo data binding support should no longer be used in

      tests Passed: checkintests

      Needs QA: YES

      Needs DOC: YES

      Bug fixes: SDK-17787

      API Change: Yes, added PropertyReference() support for CSS.

      Reviewer: Pete, Evtim, Rob

      Code-level description of changes:


      Modified getLexicalUnitAsString() to handle the
      PropertyReference() function.


      Renamed processClassReference() to processReference() and modified
      it to handle ClassReference() and PropertyReference(). Also,
      disabled the pseudo data binding support unless the
      compatibility-version is 3.0 or less.

      Renamed InvalidClassReference compiler error to InvalidReference.


      Renamed css.StyleDef.InvalidClassReference message to

      Ticket Links:

      Modified Paths: