1

CSS:

@eval ctHeaderC1 com.CssServlet.ctHeaderColor1;
@eval ctHeaderC2 com.CssServlet.ctHeaderColor2;

.cellTableHeader {
    background: ctHeaderC1;
    background: -moz-linear-gradient(top, ctHeaderC1 0%, ctHeaderC2 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, ctHeaderC1 ), color-stop(100%, ctHeaderC2 ));
    background: -webkit-linear-gradient(top, ctHeaderC1 0%, ctHeaderC2 100%);
    background: -o-linear-gradient(top, ctHeaderC1 0%, ctHeaderC2 100%);
    background: -ms-linear-gradient(top, ctHeaderC1 0%, ctHeaderC2 100%);
    background: linear-gradient(to bottom, ctHeaderC1 0%, ctHeaderC2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='ctHeaderC1', endColorstr='ctHeaderC2',GradientType=0 );          
}

我不会替换所有变量

但只有“背景:ctHeaderC1;” 被取代

:(

4

1 回答 1

0

这已在 GWT 2.5 中修复:http ://code.google.com/p/google-web-toolkit/issues/detail?id=5771

升级!;-)

于 2012-11-07T13:37:38.283 回答