To be blunt, Trying to get styling to work right in IE is somewhat of a 
nightmare. Especially with the lack of css3 support. 

There is a library out there that fixes some of the major headaches css3pie. 
http://css3pie.com/
  border-radius, 
<http://css3pie.com/documentation/supported-css3-features/#border-radius>
box-shadow,<http://css3pie.com/documentation/supported-css3-features/#box-shadow>border-image<http://css3pie.com/documentation/supported-css3-features/#border-image>CSS3
 Backgrounds 
(-pie-background)<http://css3pie.com/documentation/supported-css3-features/#pie-background>,
 
Gradients,<http://css3pie.com/documentation/supported-css3-features/#gradients>RGBA
 Color Values<http://css3pie.com/documentation/supported-css3-features/#rgba>

I've got a crude implementation up and running where it adds the necessary 
behavior :url('PIE.htc') and updates the background to use -pie-background 
when background : linear gradient is present. It relies on classpath 
placement to work properly, because I didn't want to go down the path of 
copy/pasting the whole ClientBundle architecture. Seriously gross and 
fragile. 

My question is, would this be something you'd be interestd in including in 
GWT proper with some sort of configuration to turn pie on or off? I think 
this would be something a lot of developers would be really happy to use and 
it then abstracts them away from changes to css3pie itself. 

Before commit, I'd get it so it would only push it to IE browsers, to help 
keep css files small for browsers that don't care about pie.
Allow a config property in the gwt.xml file to override the included version 
of pie. The user would still be responsible for managing 

http://css3pie.com/documentation/supported-css3-features/#pie-watch-ancestors

for the situations where that is warrented. 


I know this seems like a minor change, we're using pie to help us get our 
code out the door faster without having to sprite everything up. It is a 
HUGE productivity gain.  Having something that allows us to not have 

@if ie6 ie8 ie9 {
    .style1, style2, style3, style4{
       behavior : url('PIE.htc')
    } 
}
 
peppered throughout our code would sure be nice, and allow us to have one 
less thing to think about.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to