Repository: flex-tlf Updated Branches: refs/heads/develop 086049962 -> a50e051da
added FIXMEs for images we don't have permission to use Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/a50e051d Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/a50e051d Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/a50e051d Branch: refs/heads/develop Commit: a50e051dab6d85ed9ce61444da5bebfd9cc18ad7 Parents: 0860499 Author: Justin Mclean <jmcl...@apache.org> Authored: Sat Feb 14 13:09:20 2015 +1100 Committer: Justin Mclean <jmcl...@apache.org> Committed: Sat Feb 14 13:09:20 2015 +1100 ---------------------------------------------------------------------- automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as | 1 + automation_tests/src/UnitTest/Tests/ScrollingTest.as | 5 +++++ 2 files changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/a50e051d/automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as ---------------------------------------------------------------------- diff --git a/automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as b/automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as index eeff44e..55673ce 100644 --- a/automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as +++ b/automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as @@ -1583,6 +1583,7 @@ package UnitTest.Tests // Get image content height which has padding top set var textFlow:TextFlow = SelManager.textFlow; + // FIXME replace image/logo content var markup:String = '<TextFlow fontFamily="Arial" fontSize="16" paddingBottom="2" paddingLeft="2" paddingRight="2" paddingTop="2" whiteSpaceCollapse="preserve" version="2.0.0" xmlns="http://ns.adobe.com/textLayout/2008"><p><img paddingTop="-100" paddingLeft="50" height="auto" width="auto" source="http://www.lacitelibreria.info/ambientazione-cite/cite-libreria-logo.png" float="left"/><span fontFamily="Georgia" fontSize="24">La Cité Libreria Cafè</span></p></TextFlow>'; var textFlowNew:TextFlow = TextConverter.importToFlow(markup, TextConverter.TEXT_LAYOUT_FORMAT); http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/a50e051d/automation_tests/src/UnitTest/Tests/ScrollingTest.as ---------------------------------------------------------------------- diff --git a/automation_tests/src/UnitTest/Tests/ScrollingTest.as b/automation_tests/src/UnitTest/Tests/ScrollingTest.as index 14e9082..e1d8e10 100644 --- a/automation_tests/src/UnitTest/Tests/ScrollingTest.as +++ b/automation_tests/src/UnitTest/Tests/ScrollingTest.as @@ -487,11 +487,13 @@ package UnitTest.Tests for (var i:int = 0; i < 15; i++) { + // FIXME change image content textFlow.addChild(TextConverter.importToFlow( '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008">xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx <img source="http://static.v41.skyrock.net/chat/chat20080110/images/smileys/3-blink.png"/> xxxx</TextFlow>', TextConverter.TEXT_LAYOUT_FORMAT ).getChildAt(0)); + // FIXME change image content textFlow.addChild( TextConverter.importToFlow( '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008">xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx</TextFlow>', @@ -535,6 +537,7 @@ package UnitTest.Tests var flowElem:FlowElement = tf.getChildAt(0); textFlow.addChild(flowElem); + // FIXME change image content textFlow.addChild(TextConverter.importToFlow( '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008"><img source="http://static.v41.skyrock.net/chat/chat20080110/images/smileys/3-blink.png"/> </TextFlow>', TextConverter.TEXT_LAYOUT_FORMAT @@ -544,6 +547,7 @@ package UnitTest.Tests for (var j:int = 0; j < 100; j++) { textFlow.addChild(TextConverter.importToFlow("aaa", TextConverter.PLAIN_TEXT_FORMAT).getChildAt(0)); + // FIXME change image content textFlow.addChild(TextConverter.importToFlow( '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008"><img source="http://static.v41.skyrock.net/chat/chat20080110/images/smileys/3-blink.png"/> </TextFlow>', TextConverter.TEXT_LAYOUT_FORMAT @@ -562,6 +566,7 @@ package UnitTest.Tests var tf:TextFlow = SelManager.textFlow; for (var i:int = 0; i < 15; i++) { + // FIXME change image content tf.addChild(TextConverter.importToFlow( '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008">Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, âand what is the use of a book,â thought Alice âwithout pictures or conversation?<img source="http://static.v41.skyrock.net/chat/chat20080110/images/smileys/3-blink.png"/> conversation?</TextFlow>', TextConverter.TEXT_LAYOUT_FORMAT