Shaun,

I had issues with these @def's last fall. Here is what I learned:

1) Make sure the @def's are placed at the very top of the CSS file, 
anywhere else and they'll be trouble (this face is not 
documented<https://code.google.com/p/google-web-toolkit/issues/detail?id=6536>
).
2) Use the 
@literal()<https://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#Literal_function>tag
 to wrap non-CSS2 props. i.e. 
background-image: *@literal( *linear-gradient(top, 
HEADER_ROW_BACKGROUND_COLOR literal(" 0%"), HEADER_ROW_BACKGROUND_COLOR 
literal(" 
97%"), #7a808a literal(" 100%")) *);*

The GWT team does not want to write a pure Java CSS3 parser, so you need to 
do this until they do, or someone else writes one for them to implement.

Sincerely,
Joseph

-- 
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/-/7hYSYRBLKvkJ.
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.

Reply via email to