Monday, September 27, 2010

Re: CSS Opacity on IE8

I believe there is a problem with GWT's dom implementation for IE 8.
I found a workaround here:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/bfeb810a63066989/6e70f7d7868c4440?lnk=gst&q=bconoly#6e70f7d7868c4440

On Sep 27, 7:28 am, Nicolas ANTONIAZZI <nicolas.antonia...@gmail.com>
wrote:
> Hello,
>
> I think that there is a problem with the Dom Implementation of opacity in
> IE8.
> getElement().getStyle.setOpacity(value);
>
> The standard way of setting a css opacity is "opacity : value"
> with IE6 or 7, it is : filter : alpha(opacity=value);
> with IE8, it is the same. but there is only a specific implementation for
> IE6/IE7 browser in gwt
>
> gwt source code :
> in file : DomImplIE6.java :
>
>  @Override
>    public native void cssSetOpacity(Style style, double value) /*-{
>      style.filter = 'alpha(opacity=' + (value * 100) + ')';
>    }-*/;
> in file : DomImplIE8.java : nothing, and DomImplIE8 do not inherit
> from DomImplIE6
>
> Am I missing something or is it a bug / oversight ?
>
> Thanks,
>
> Nicolas.

--
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