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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      SDK revision 5789

      Steps to reproduce:
      1. Compile this program:

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768">

      <fx:Style>
      Button

      { color: red }

      </fx:Style>

      <s:Button id="mybutton" label="hi" />
      </s:Application>

      Actual Results:
      Error messages:

      – begin –
      /Users/mmoreart/Documents/runtime-gumbo.mac.product/f1/src/f1.mxml(2): Warning: The CSS type selector 'Button' was not processed, because the type was not used in the application.

      xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768">
      – end –

      Expected Results:
      Should be line 4, not line 2.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: