如何让Eclipse的Aptana插件对CSS3而不是CSS2进行验证?

时间:2022-08-27 18:16:27

In my CSS files, I get these and similar error messages:

在我的CSS文件中,我得到了这些和类似的错误消息:

The pseudo-element ::selection can't appear here in the context css2

伪元素:::选择不能出现在上下文css2中

Value Error : background-color (http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background-color) RGBA(0,0,0,0.7) is not a background-color value

值错误:backearth -color (http://www.w3.org/TR/REC-CSS2/colors.html#propdef- backbackground -color) RGBA(0,0,0,0.7)不是一个背景色值。

And similar errors for background-image. I keep reading that Aptana supports CSS3, but I can't find anything on how to make it use that for validation instead of CSS2. I've checked Preferences -> Aptana -> Validation -> CSS, I've made sure I'm using the Aptana editor, checked file associations, and I can't find any options for it. I just updated Aptana.

以及类似的背景图像错误。我一直读到Aptana支持CSS3,但是我找不到任何关于如何使它用于验证而不是CSS2的东西。我检查了首选项—> Aptana—>验证—> CSS,我确保使用了Aptana编辑器,检查了文件关联,我找不到任何选项。我只是Aptana更新。

Here's my Aptana version:
Aptana Studio 3 Plugin 3.0.9.201202140953-7E777Q7HFGVBKBSEW7S_Iz0JktqM com.aptana.feature.studio.feature.group

这是我的Aptana版本:Aptana Studio 3插件3.0.9.201202140953- 7e777q7hfgvbvbkbsew7s_iz0jktqm com. Aptana .feature. learning .feature.group

Here's my Eclipse version:
Version: Helios Service Release 1
Build id: 20100917-0705

下面是我的Eclipse版本:版本:Helios服务版本1构建id: 20100917-0705

1 个解决方案

#1


0  

It is not possible to change your CSS validation resources. You can find on the Aptana forums different posts of users that want to have a feauture. Please post a ticket at Aptana.

不可能更改CSS验证资源。你可以在Aptana论坛上找到不同的贴子,这些贴子是用户想要的。请在Aptana寄张票。

#1


0  

It is not possible to change your CSS validation resources. You can find on the Aptana forums different posts of users that want to have a feauture. Please post a ticket at Aptana.

不可能更改CSS验证资源。你可以在Aptana论坛上找到不同的贴子,这些贴子是用户想要的。请在Aptana寄张票。