On Tuesday, June 19, 2012 9:13:25 PM UTC+2, Shaun Tarves wrote:
>
> I would like to include some IE-specific hacks in my CssResource.
> Something along the lines of:
>
> *header {width:290px;height:200px;background:#000;}
>
> However, the GWT CSS compiler throws warnings when it encounters one.
>
> In some cases, the user.agent is not specific enough (for example, it
> doesn't have an ie7 value), and certain hacks *, /9, _, etc are necessary
> in those cases.
>
> Is there a proper way to pass these hacks through the CSS compiler that
> doesn't include user.agent checking?
>
You can do the check in a static method and then use that in the @if
condition.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/9fSp0m6K-FcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.