You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2015/10/19 11:49:33 UTC
git commit: [flex-tlf] [refs/heads/develop] - Fix for FLEX-34744 Span
elements with an id defined are now handled as a special case and not
normalized out.
Repository: flex-tlf
Updated Branches:
refs/heads/develop 7710afb61 -> c31ddf71b
Fix for FLEX-34744
Span elements with an id defined are now handled as a special case and not normalized out.
Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/c31ddf71
Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/c31ddf71
Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/c31ddf71
Branch: refs/heads/develop
Commit: c31ddf71bdce442fb363fa9f46952ecc8fae8243
Parents: 7710afb
Author: Harbs <ha...@in-tools.com>
Authored: Mon Oct 19 12:49:27 2015 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Mon Oct 19 12:49:27 2015 +0300
----------------------------------------------------------------------
textLayout/src/flashx/textLayout/elements/ParagraphElement.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/c31ddf71/textLayout/src/flashx/textLayout/elements/ParagraphElement.as
----------------------------------------------------------------------
diff --git a/textLayout/src/flashx/textLayout/elements/ParagraphElement.as b/textLayout/src/flashx/textLayout/elements/ParagraphElement.as
index dded72d..0622c84 100644
--- a/textLayout/src/flashx/textLayout/elements/ParagraphElement.as
+++ b/textLayout/src/flashx/textLayout/elements/ParagraphElement.as
@@ -642,7 +642,7 @@ package flashx.textLayout.elements
_terminatorSpan.removeParaTerminator();
if (newLastLeaf && _terminatorSpan)
{
- if(_terminatorSpan.textLength == 0)
+ if(_terminatorSpan.textLength == 0 && !_terminatorSpan.id)
{
var termIdx:int = getChildIndex(_terminatorSpan);
super.replaceChildren(termIdx, termIdx+1);