flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/3] git commit: [flex-falcon] [refs/heads/develop] - handle lists in all border and padding styles
Date Tue, 28 Jul 2015 18:42:50 GMT
handle lists in all border and padding styles


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/78ff0743
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/78ff0743
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/78ff0743

Branch: refs/heads/develop
Commit: 78ff074371fb0d205a793746328174334a32cd6a
Parents: b0edd99
Author: Alex Harui <aharui@apache.org>
Authored: Tue Jul 28 11:42:23 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Jul 28 11:42:43 2015 -0700

----------------------------------------------------------------------
 .../src/org/apache/flex/compiler/internal/css/CSSProperty.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/78ff0743/compiler/src/org/apache/flex/compiler/internal/css/CSSProperty.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/css/CSSProperty.java b/compiler/src/org/apache/flex/compiler/internal/css/CSSProperty.java
index f5947ac..904bdb1 100644
--- a/compiler/src/org/apache/flex/compiler/internal/css/CSSProperty.java
+++ b/compiler/src/org/apache/flex/compiler/internal/css/CSSProperty.java
@@ -84,7 +84,10 @@ public class CSSProperty extends CSSNodeBase implements ICSSProperty
         {
             return String.format("%s : %s ;", cssName, ((CSSFunctionCallPropertyValue)value).toString());
         }
-        if (cssName.equalsIgnoreCase("border"))
+        if (cssName.equalsIgnoreCase("border") || 
+                cssName.startsWith("border-") ||
+                cssName.equalsIgnoreCase("padding") ||
+                cssName.startsWith(("padding-")))
         {
             if (value instanceof CSSArrayPropertyValue) {
                 CSSArrayPropertyValue borderValues = (CSSArrayPropertyValue)value;


Mime
View raw message