I using lib-gwt-svg 0.5.12 with GWT 2.8.
I have notice that on SVGImage, if setClassNameBaseVal is called before setResource, it's failed because the svg element doesn't exist.
<svgui:SVGImage resource="{resources.tabstandardSvg}" classNameBaseVal="tabIconeSize" />
If i am in SDM the generated code is:
f_SVGImage2.setResource(get_resources().tabstandardSvg());
f_SVGImage2.setClassNameBaseVal("tabIconeSize");
But in production mode the generated code is:
f_SVGImage2.setClassNameBaseVal("tabIconeSize");
f_SVGImage2.setResource(get_resources().tabstandardSvg());
So my program got an javascript exception in production
I will create my own SVGImage to fix the bug but i think that the library need a fix.