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

Text component not created linebreaks with htmlText (<br/> tags) when using runtime css

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Runtime CSS
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. create a styles.css with an embedded font (Arial.ttf)
      2. set css to 'compile css to swf'
      3. create a Flex Application and load css at runtime ( StyleManager.loadStyleDeclarations(

      {styleSheet}

      , true); )
      2. Place a Text component in mxml with id='txt'
      3.set html text after css has loaded (txt.htmlText = "Testing<br/>Testing<br/><br/>Testing<br/>Testing<br/><br/><p><b>123</b></p>"; )

      Actual Results:
      '<br/>' tags are not producing linebreaks?

      Expected Results:
      '<br/>' tags should produce linebreaks?

      Workaround (if any):
      don't use runtime css

      Attached are 2 app's runtimeCSS and bakedinCSS

      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: