On Thursday, July 19, 2012 8:25:29 PM UTC+2, Ed wrote:
>
> could automatically have ".parent.child" concatenated for you to "parent 
>> child" to be returned when you ask for the class name. However,  
>
>
> @Joseph: that's not even such a bad idea. Indeed you could use a Delegator 
> class that implements that Widget style interface that forwards the call to 
> the correct CssResource interface. In case you want to add an extra styl, 
> you just concatenate two style method calls. 
> It's not ideal, but possible.
>
> I think a good solution would be that GWT integrates with the 
> closure-stylesheets project. GWT could not have to worry about the css 
> programming like the current browser-style-dependent conditions. This is 
> done by the closure-stylesheet project. New features/updated added to the 
> closure-stylesheets project would automatically be available I think.
>

Closure Stylesheets is missing @sprite/gwt-image and value() though (as 
well as calling Java static methods in @if-s; and to be honest, I prefer 
GWT's @if than Closure's comment-based directives).

Note that ClientBundle is pluggable so you can very well integrate Closure 
Stylesheets support without patching GWT (create a GssResource with its own 
ResourceGenerator).

If you intend to work on it, please update us here or on 
google-web-toolkit-contribut...@googlegroups.com or in 
http://code.google.com/p/google-web-toolkit/issues/detail?id=4422 (I talked 
about Closure Stylesheet in the issue I originally merged that one in; you 
can also find my notes on 
G+ https://plus.google.com/113945685385052458154/posts/JboFtJFX3hE or on 
this group's archives)

-- 
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/-/m1tOVMJMSRkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to