Our application seems to behave correctly under GWT 2.5.1, and bundles CSS 
as follows:

public interface CssResourceBundle extends ClientBundle {

    CssResourceBundle INSTANCE = GWT.create(CssResourceBundle.class);

    @CssResource.NotStrict
    @Source("com/xxx/javascript/some.css")
    CssResource css();
}


with an entry point:

public class AnEntryPoint implements EntryPoint {

    static {
        CssResourceBundle.INSTANCE.css().ensureInjected();
    }

    @Override
    public void onModuleLoad() {
      // xxx
    }
}


However, after upgrading to GWT 2.6.0, we're seeing an exception (that 
prevents the CSS from being injected) on Firefox (but not for example on 
Chrome or Safari):


Mon Feb 10 22:39:53 GMT-500 2014 
com.google.gwt.logging.client.LogConfiguration
SEVERE: (TypeError)
__gwt$exception: <skipped>
fileName: xxx lineNumber: 301
columnNumber: 21: $doc.createStyleSheet is not a 
functioncom.google.gwt.core.client.JavaScriptException: (TypeError)
__gwt$exception: <skipped>
fileName: xxx
lineNumber: 301
columnNumber: 21: $doc.createStyleSheet is not a function



Any suggestions for what may be going on here?

Thanks,
Pete

-- 
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 [email protected].
To post to this group, send email to [email protected].
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