GWT will only do something if you somehow "tell" it to do it: it won't try to optimize images unless they are in an ImageBundle or ClientBundle.
-- Note however that the default behavior for ClientBundle is actually not to create a "CSS sprite" but to use data: URIs directly embedded in the JS (and/or in the CSS for a CssResource, which is also embedded as a String in the JS) for all browsers that support it (all but IE6/7, also, IE8 will fallback to loading images from the server –without any optimization at all, IIRC– when using HTTPS, because data: URIs in an HTTPS-served page would result in a "mixed content" warning)
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/-/bqx9ilJHJ5YJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment