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

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

commit 2e1c8c0509ef0caaae33af2be66ef4ced10eda58
Author: Alex Harui <[email protected]>
AuthorDate: Wed Feb 21 17:23:26 2018 -0800

    fix lookup
---
 .../royale/org/apache/royale/core/SimpleCSSValuesImpl.as  | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git 
a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as
 
b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as
index 751af9d..fc094de 100644
--- 
a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as
+++ 
b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as
@@ -411,7 +411,9 @@ package org.apache.royale.core
             o = values["*"];                   
             if (o !== undefined)
             {
-                return o[valueName];
+                value = o[valueName];
+                if (value !== undefined)
+                    return value;
             }
             
             COMPILE::SWF
@@ -472,15 +474,10 @@ package org.apache.royale.core
                     return getValue(parentObject, valueName, state, attrs);
             }
             
-            COMPILE::SWF
+            o = values["global"];
+            if (o !== undefined)
             {
-                o = values["global"];
-                if (o !== undefined)
-                {
-                    value = o[valueName];
-                    if (value !== undefined)
-                        return value;
-                }
+                return o[valueName];
             }
                        return undefined;
                }

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to