You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pe...@apache.org on 2018/01/21 13:35:15 UTC

[royale-asjs] branch develop updated: Was failing when run on HTML platform.

This is an automated email from the ASF dual-hosted git repository.

pent pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 80148d9  Was failing when run on HTML platform.
80148d9 is described below

commit 80148d938f6f1139e8494f011c7e0f3a010239eb
Author: Peter Ent <pe...@apache.org>
AuthorDate: Sun Jan 21 08:37:19 2018 -0500

    Was failing when run on HTML platform.
---
 .../Core/src/main/royale/org/apache/royale/utils/CSSContainerUtils.as   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/CSSContainerUtils.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/CSSContainerUtils.as
index b2a2524..788d4a8 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/CSSContainerUtils.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/CSSContainerUtils.as
@@ -67,7 +67,7 @@ public class CSSContainerUtils
             {
                 if (border is Array)
                 {
-                    borderOffset = CSSUtils.toNumber(border[0], object.width);
+                    borderOffset = CSSUtils.toNumber(String(border[0]), object.width);
                     borderStyle = border[1];
                 }
                 else if (border == "none")

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <co...@royale.apache.org>'].