Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-25471

the compiler should report error when there is typo in the font family name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: Adobe Flex SDK Previous
    • Fix Version/s: None
    • Component/s: Styles
    • Labels:
      None
    • Environment:
      Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

      Description

      Steps to reproduce:
      1. paste and run the following in application:

      <fx:Style>
      @namespace s "library://ns.adobe.com/flex/spark";
      s|Label

      { color:blue; fontSize:30; fontStyle:italic; fontFamily:Ariel; }


      </fx:Style>

      <s:Button label="Button" />
      <s:Label text="Label" />
      2.
      3.

      Actual Results:
      no compiler error is reported for the typo Ariel.
      the label text isn't italic. if you fix the typo, Ariel--> Arial, it works fine.

      Expected Results:

      compiler error should be reported.
      Workaround (if any):

        Attachments

          Activity

            People

            • Assignee:
              adobejira Adobe JIRA
              Reporter:
              adobejira Adobe JIRA
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: