Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 3.2 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. Use the following MXML:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Panel title="TextArea Control Example" height="75%" width="75%"
paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
<mx:TextArea width="400" height="100">
<mx:htmlText><!CDATA[This is <font color="#FF0000">HTML text</font> in a <b>TextArea control</b>. Use the <u>htmlText property</u> of the <font color="#008800">TextArea control</font> to include basic HTML markup in your text.]
></mx:htmlText>
</mx:TextArea>
</mx:Panel>
</mx:Application>
2. Position the caret at the end of the paragraph and hit enter to insert a new line.
3. Click into any of the formatted text to position the caret there, i.e.: the red "HTML Text".
4. Click back to the new line.
Actual Results:
The caret is now red and any typed text takes on the red formatting. I've also experience this problem when programmatically setting the formatting while having the caret/cursor up against the newly formatted text.
Expected Results:
The formatting for the new line should remain normal.
Workaround (if any):
None.