Thursday, May 27, 2010

IE Sprite Error in Development mode ?

I think there goes something wrong using sprites in IE in development
mode.

I use Clientbundles with sprites in my CSS files. I think I have them
configured well now after a few hints found in the forum. They all
look ok at least, apart that that in IE, at some pages of my app, the
whole sprite is shown at some places in the screen, which only occurs
in Development mode.
I am running in noserver mode btw.

See for your self:
-In development mode: http://sub.ited.nl/gwt/error.png
-In web mode: http://sub.ited.nl/gwt/ok.png

Even if I remove the content of my CSS files, such that only the
ImageResource can be used from the ClientBundle.

Any idea how this happens?

A snippet of my CSS file:
public interface DeclareClientBundle extends CommonClientBundle {

@Source( {"styles/gwt-declare.css", "styles/gwt-default.css" })
@CssResource.NotStrict
DeclareCssResource getCss();

@Source("images/help-enabled.gif")
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource helpEnabled();

@Source("images/help-disabled.gif")
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource helpDisabled();
..
..
..

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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