Hi -

I'm having trouble using a defined constant inside of a css property that 
has its own parenthetical reference. What I mean is:

@def HEADER_ROW_BACKGROUND_COLOR #b2bbc9;
This works:

background: HEADER_ROW_BACKGROUND_COLOR;

This does not work.
background-image: linear-gradient(top, HEADER_ROW_BACKGROUND_COLOR literal(" 
0%"), HEADER_ROW_BACKGROUND_COLOR literal(" 97%"), #7a808a literal(" 100%"))
;

The property shows up in web inspector totally fine, EXCEPT that the 2 
references to the constant are never translated. They just appear as is, 
strings in all caps. (see attachment)

Is this a known bug of some kind?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/UUqeB7AP_MIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

<<attachment: Screen Shot 2012-03-08 at 10.42.49 AM.png>>

Reply via email to