flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yish...@apache.org
Subject [1/3] git commit: [flex-asjs] [refs/heads/develop] - Ensure padding exists when styling colors.
Date Fri, 16 Dec 2016 20:05:28 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 299be842d -> a77717a15


Ensure padding exists when styling colors.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/4b3512ae
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/4b3512ae
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/4b3512ae

Branch: refs/heads/develop
Commit: 4b3512ae0d70701044d0f3e0c1f83110326941b3
Parents: affda1a
Author: yishayw <yishayjobs@hotmail.com>
Authored: Fri Dec 16 22:02:56 2016 +0200
Committer: yishayw <yishayjobs@hotmail.com>
Committed: Fri Dec 16 22:02:56 2016 +0200

----------------------------------------------------------------------
 .../Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4b3512ae/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
index 1aa6661..ee5fb32 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
@@ -727,7 +727,7 @@ package org.apache.flex.core
                     continue;
                 if (typeof(value) == 'number') {
                     if (colorStyles[p])
-                        value = '#' + value.toString(16);
+                        value = CSSUtils.attributeFromColor(value);
                     else
                         value = value.toString() + 'px';
                 }


Mime
View raw message