>
> At this point because
>>> SuperCssResource has now been reinjected and thus is now the last one 
>>> declared between it and MyCssResource, its
>>> .genButton rule now wins and causes WidgetDisplayedFirst's button to now 
>>> have a color of black.
>>>
>>
>> With the code above, it shouldn't (now there could be bugs).
>>
>
> So you're saying that SuperCssResource's css should not be included in 
> with the css generated for LeafCssResource to be injected? If that's the 
> case then I think there is a bug.
>

In all your samples above you are not defining that SuperCssResource has a 
@Shared annotation and without that @Shared annotation your "issue" can not 
happen because all duplicated css classes will get unique names. Thus "With 
the code above, it shouldn't".


-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to