The problem has always been there with Chrome, but FF started a month or two ago.
In FF I've got the "Web Developer Toolbar" extension installed. Right click on webpage, goto the web developer menu, CSS menu, then "reload CSS".
It'll reload straight from your updated files. No need to even hit F5.
HTH
Steve
Obfuscated CSS class names
CssResource will use method names as CSS class names to obfuscate at runtime.
interface MyCss extends CssResource {
String className();
}
interface MyResources extends ClientBundle {
@Source("my.css")
MyCss css();
}All instances of a selector with .className will be replaced with an obfuscated symbol when the CSS is compiled. To use the obfuscated name:
MyResources resources = GWT.create(MyResources.class);
Label l = new Label("Some text");
l.addStyleName(resources.css().className());
in a normal css file, there should be many class name, so how to insert the classname in addStyleName()?
interface MyCss extends CssResource {
String className();
Now in your actual code, where you have addStyleName("something") before, it must now be addStyleName(resources.css().something())
String something();
}