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

[CTFXG] If a <br> tag has children, you do not get a compile error.

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Compile main_br.mxml
      It uses a .fxg file with the following RichText:
      <RichText fontFamily="MyVeraSpark">
      <content>
      <p>Hello, World</p>This is a new day!
      <br>
      <p>A paragraph here.</p>
      </br>
      There should have been two line breaks above me.<br /><br></br>
      <br />
      There should have been three line breaks above me.<br />
      One line break above me.
      </content>
      </RichText>

      Actual Results:
      <br> tags should not have any children, but, this app compiles with no errors.

      Expected Results: There should be a compile error that <br> tags cannot have children.

      Workaround (if any):

      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: