Bob could probably speak more to the specifics, but I don't believe the @sprite support in CSS resources deals with PNG transparency on IE6 as yet. The PNG transparency support for IE6 in ImageBundle is hideous and has caused no end of performance and layout issues (just take a look at the nasty DOM structure it generates to see why). Don't take this as an official stance, since we haven't really discussed it in detail, but I'm starting to believe the right answer is to slowly move towards supporting IE6 to the best degree possible, while not hamstringing later IE browsers (e.g., by not bending over backwards to support PNG transparency in IE6 if it's going to cause lots of problems). What I think this means in practice is keeping the 'ie6' user-agent for IE6/7 and adding an 'ie8' user-agent, because IE8 adds a *lot* more standard browser features.
Where strictly necessary, we can do dynamic checks for IE6/7. The differences between IE6 and 7 fall into three categories that I know of: - PNG transparency support. - Certain CSS constructs (especially w.r.t. fixed positioning). - Popup "peek-through-rendering" bugs (i.e. heavyweight HWND controls like <select> poke through when they shouldn't on IE6). Of these, PNG transparency could be theoretically dropped for IE6 without seriously breaking functionality (remember you *can* do transparency in GIFs, even though it's only a one-bit alpha channel). The CSS stuff is ugly, but well-known, and we don't currently do much to help with it anyway. And the popup bug could be left in as a dynamic check to differentiate IE6/7. Sorry to hijack this thread with my ruminations on IE user-agents, but I think it's worth discussing, and is salient to the question at hand. joel. On Tue, Mar 24, 2009 at 9:28 AM, Jeff J. <[email protected]> wrote: > > Does anyone have CSSResource css examples successfully utilizing .png > sprites with transparencies in IE6? Specifically, I'm trying to fix > the artifacts on my DecoratorPanel rounded corners in IE6. > > I suspect it might work with something like below but have not had any > luck: > > @sprite .popup .popupTopRight { > gwt-image: "popupTR"; > } > @if user.agent ie6 { > @sprite .popup .popupTopRight { > gwt-image: "popupTR"; > } > } > > Are there plans to support IE7 or IE8 user.agents so proper @sprite > support in IE6 utilizing CSSResource bundles can eventually be > automatic? > > Thanks, > Jeff > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
