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

The content of a RichText graphic in static FXG 2.0 ignores the whiteSpaceCollapse="preserve" property after check-in 11163

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • 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 and load the bugfile main.mxml
      The bugfile uses the following .fxg :
      <?xml version='1.0' encoding='UTF-8'?>
      <Graphic xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns="http://ns.adobe.com/fxg/2008" version="2.0">
      <RichText whiteSpaceCollapse="preserve">
      <content>

      <p><span kerning="off" fontSize="16">AV TV War is aware</span><br />
      <span kerning="on" fontSize="16">AV TV War is aware</span>
      </p>
      </content>
      </RichText>
      </Graphic>

      Actual Results: The displayed text is ignoring the whiteSpaceCollapse="preserve". So, there is only one line break between the two lines of text.
      The problem exists in build 11163 (works in 11172) and was not fixed by check-ins 11190 and 11198.

      Expected Results: There should be multiple line breaks.

      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: