[ 
https://issues.apache.org/jira/browse/FLEX-26653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649307#comment-13649307
 ] 

Justin Mclean edited comment on FLEX-26653 at 5/5/13 10:31 AM:
---------------------------------------------------------------

Code to test
<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/mx"
  creationComplete="init()">
  <fx:Script>
    <![CDATA[

import spark.utils.TextFlowUtil;

private function init():void {
  setTlf();
}

private function setTlf():void {
  const markup:XML = <TextFlow xmlns="http://ns.adobe.com/textLayout/2008"; 
fontSize="18">
  <p>Text before the span <span>text inside the span</span> text after the 
span.</p>
</TextFlow>;
  textElement.textFlow = TextFlowUtil.importFromXML(markup);
}
    ]]>
  </fx:Script>
  <s:layout>
    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle" />
  </s:layout>
  <s:RichEditableText id="textElement" width="300" paddingTop="30"/>
</s:Application>
                
      was (Author: jmclean):
    Code:
<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/mx"
  creationComplete="init()">
  <fx:Script>
    <![CDATA[

import spark.utils.TextFlowUtil;

private function init():void {
  setTlf();
}

private function setTlf():void {
  const markup:XML = <TextFlow xmlns="http://ns.adobe.com/textLayout/2008"; 
fontSize="18">
  <p>Text before the span <span>text inside the span</span> text after the 
span.</p>
</TextFlow>;
  textElement.textFlow = TextFlowUtil.importFromXML(markup);
}
    ]]>
  </fx:Script>
  <s:layout>
    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle" />
  </s:layout>
  <s:RichEditableText id="textElement" width="300" paddingTop="30"/>
</s:Application>
                  
> Missing space characters before and after span element (TLF 2 with Flex 4.1)
> ----------------------------------------------------------------------------
>
>                 Key: FLEX-26653
>                 URL: https://issues.apache.org/jira/browse/FLEX-26653
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Framework
>    Affects Versions: Adobe Flex SDK 4.1 (Release)
>         Environment: Affected OS(s): Mac
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easytest
>
> Steps to reproduce:
> 1. View the attached .swf file in a browser.
>  Actual Results: "spantext"
>  
>  Expected Results: "span text"
>  
> (Something else: In "Components" in the bug form I'd like to be able to 
> select "TLF".)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to