0 Replies Latest reply on Jan 29, 2009 10:53 AM by Peter Farland

    [svn] 4735: Fixing id selectors for non-visual components.

    Peter Farland Level 3
      Revision: 4735
      Author: pfarland@adobe.com
      Date: 2009-01-29 10:53:55 -0800 (Thu, 29 Jan 2009)

      Log Message:
      Fixing id selectors for non-visual components. This required a special modification to the compiler to include id properties in generated code if a component was guaranteed to have an id property. A new mx.core.IID interface was introduced to opt in to the id property to be included. This change also required TextGraphicElement based components to implement IAdvancedStyleClient instead of just IStyleClient (though note that pseudo-selectors have no meaning for these components as they do not possess states).

      QE: Yes
      Doc: It's reasonably advanced, but we may want to document mx.core.IID for the case where a custom component exists that needs to be styled but is not based on UIComponent or GraphicElement.
      Checkintests: Pass
      Reviewers: Glenn, Paul R
      SDK-18651 - Advanced CSS not setting styles on FXG elements correctly when styling using IDs

      Ticket Links:

      Modified Paths:
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicEleme nt.as
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a

      Added Paths: