flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seung Yeup Chae (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34737) ParagraphElement can not add an empty SpanElement
Date Thu, 05 Feb 2015 01:03:55 GMT
Seung Yeup Chae created FLEX-34737:
--------------------------------------

             Summary: ParagraphElement can not add an empty SpanElement
                 Key: FLEX-34737
                 URL: https://issues.apache.org/jira/browse/FLEX-34737
             Project: Apache Flex
          Issue Type: Bug
          Components: TLF
    Affects Versions: Apache Flex 4.14.0
         Environment: Mobile, PC
            Reporter: Seung Yeup Chae
            Priority: Minor


			var paragraph:ParagraphElement = new ParagraphElement();
			
			var empty1:SpanElement = new SpanElement();
			paragraph.addChild(empty1);
			empty1.text = "-->Empty1 SpanElement<--";
			trace("paragraph.numChildren=" + paragraph.numChildren);   // paragraph.numChildren=1,
added

			var empty2:SpanElement =  new SpanElement();
			paragraph.addChild(empty2);
			empty2.text = "-->Empty2 SpanElement<--";
			trace("paragraph.numChildren=" + paragraph.numChildren);    // paragraph.numChildren=1,
not added
			
			var span:SpanElement =  new SpanElement();
			span.text = "-->SpanElement<--";
			paragraph.addChild(span);
			trace("paragraph.numChildren=" + paragraph.numChildren);    // paragraph.numChildren=2,
added



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message