I've added this to Issue #6849
http://code.google.com/p/google-web-toolkit/issues/detail?id=6848

On Nov 3, 12:55 pm, Thad <thad.humphr...@gmail.com> wrote:
> Using GWT 2.3 and 2.4, IE9 does not set the dimensions of an image
> after the image is loaded. In the code fragment below, IE9 will print
> "dimensions: 0, 0":
>
>   Image image = new Image("android.png");
>   image.addLoadHandler(new LoadHandler() {
>     public void onLoad(LoadEvent event) {
>       GWT.log("dimensions: "+image.getWidth()+" x "+image.getWidth());
>     }
>   });
>   image.setVisible(false);
>   RootPanel.get().add(image);
>
> This makes it impossible to scale or crop and image for display in an
> SVG Canvas.
>
> Firefox, Chrome, and Safari all give the correct dimensions.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to