0 Replies Latest reply on Jun 25, 2009 10:07 AM by Peter Farland

    [svn:fx-trunk] 8237: Fixes for CSS warning and error reporting.

    Peter Farland Level 3

      Revision: 8237

      Author:   pfarland@adobe.com

      Date:     2009-06-25 10:06:48 -0700 (Thu, 25 Jun 2009)

       

      Log Message:

      ***********

      Fixes for CSS warning and error reporting. Line numbers and the corresponding style declaration shown now should be much improved.

       

      QE: Yes, please revise CSS error/warning line number reporting for inline CSS and external .css sources. This change should improve accuracy for both scenarios.

      Doc: No

      Reviewers: Paul R, Peter D

      Checkintests: Pass

      mxmlcunit RuntimeCSS and Styles: Pass

      Bugs:

      SDK-20388 - If CSS has a class name selector (e.g. Button) which is not qualified by a namespace, the compiler warning is on the wrong line

      SDK-20387 - Confusing error message if the user omits the semicolon at the end of a CSS @namespace declaration

       

      Ticket Links:

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/lib/batik-all-flex.jar

          flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleDocumentHandler.java

          flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleParser.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java

          flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/Parser.java