0 Replies Latest reply on Oct 23, 2008 2:21 PM by Peter Farland

    [svn] 3860: Fixing an alpha bug regression.

    Peter Farland Level 3
      Revision: 3860
      Author: pfarland@adobe.com
      Date: 2008-10-23 15:21:52 -0700 (Thu, 23 Oct 2008)

      Log Message:
      -----------
      Fixing an alpha bug regression. If there are lists of selectors in a single rule the parser returns a shared instance of StyleDeclaration for each, so while the properties need to be processed in a shared manner, the selector and subject need to be unique. This change adds a shallowCopy to StyleDeclaration.

      QA: Yes
      Doc: No
      Checkintests: Pass
      Reviewer: Darrell, Gaurav
      Bugs:
      SDK-17740 - [Advanced CSS] Type selectors using commas no longer work.

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-17740

      Modified Paths:
      --------------
      flex/sdk/branches/gumbo_alpha/modules/compiler/src/java/flash/css/StyleDeclaration.java
      flex/sdk/branches/gumbo_alpha/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
      flex/sdk/branches/gumbo_alpha/modules/compiler/src/java/flex2/compiler/css/StyleModule.ja va
      flex/sdk/branches/gumbo_alpha/modules/compiler/src/java/flex2/compiler/css/StylesContaine r.java