【发布时间】:2011-08-08 14:05:41
【问题描述】:
我的网站样式表中有许多 CSS 样式,它们使用以下或变体:
background: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.0, #585858),
color-stop(1.0, #ACACAC)
);
background: -moz-linear-gradient(
center bottom,
#585858 0%,
#ACACAC 100%
);
我的问题是,在使用 W3C Validator 验证 CSS 时,我收到以下错误:
值错误:背景 -webkit-gradient(linear,left bottom,left top,color-stop(0.0,#585858),color-stop(1.0,#acacac)) 不是背景值:-webkit-gradient (linear,left bottom,left top,color-stop(0.0,#585858),color-stop(1.0,#acacac)) -webkit-gradient(linear,left bottom,left top,color-stop(0.0,#585858 ),color-stop(1.0,#acacac))
据我所知,CSS 没问题...这是验证器的问题吗?我应该让与我合作的测试团队意识到这一点?
【问题讨论】:
标签: css w3c-validation