File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ public void setImageList(CssExpression exp, ApplContext ac)
150
150
break ;
151
151
case CssTypes .CSS_HASH_IDENT :
152
152
c = new CssColor ();
153
- c .setShortRGBColor (ac , val .toString ());
154
- v .add (c );
153
+ c .setShortRGBColor (ac , val .getHashIdent (). toString ());
154
+ v .add (( val . getRawType () == CssTypes . CSS_HASH_IDENT ) ? c : val );
155
155
gotcolor = true ;
156
156
break ;
157
157
case CssTypes .CSS_COLOR :
@@ -165,8 +165,8 @@ public void setImageList(CssExpression exp, ApplContext ac)
165
165
break ;
166
166
}
167
167
c = new CssColor ();
168
- c .setIdentColor (ac , val .toString ());
169
- v .add (c );
168
+ c .setIdentColor (ac , val .getIdent (). toString ());
169
+ v .add (( val . getRawType () == CssTypes . CSS_IDENT ) ? c : val );
170
170
gotcolor = true ;
171
171
break ;
172
172
default :
You can’t perform that action at this time.
0 commit comments