Monday, September 27, 2010

CSS Opacity on IE8

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