http://jigsaw.w3.org/css-validator/和 http://www.css-validator.org/CSS 验证器之间的区别? [英] Difference between http://jigsaw.w3.org/css-validator/ and http://www.css-validator.org/ CSS validators?

查看:37
本文介绍了http://jigsaw.w3.org/css-validator/和 http://www.css-validator.org/CSS 验证器之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用两个验证器来验证我的 CSS,但它们给出了不同的结果!http://www.css-validator.org/ 返回更多错误(在我的情况下为 245)比 http://jigsaw.w3.org/css-validator/(返回 24 个错误).
这些来有什么区别?他们不是都在 W3C 之下吗?

我用于 http://jigsaw.w3.org/css-validator/:

  • 配置文件:CSS 级别 3
  • 中:所有
  • 警告:全部
  • 供应商扩展:默认

我还尝试更改 Vendor extensions 值,如果我将其设置为 Errors,我会收到大约 100 个错误,如果我将其设置为警告,我会收到与默认值相同数量的错误,即 24.

我用于 http://www.css-validator.org/ 的选项::>

  • 配置文件:CSS 级别 3
  • 中:所有
  • 警告:全部

css-validator.org 未返回但 jigsaw.w3.org 未返回的错误示例:

<块引用>
  • ".kill-flicker: 属性背面可见性不存在:隐藏隐藏"
  • ": 未知的伪元素或伪类::-moz-focus-inner [-moz-focus-inner]"

解决方案

http://jigsaw.w3.org/css-validator/ 由 W3C 托管.它是官方 CSS 验证器,链接自 http://validator.w3.org/.

http://www.css-validator.org/ 不是strong> 由 W3C (*) 主办.这是误导,因为他们使用相同的品牌(几乎相同的网站副本,除了额外的广告/Facebook 小部件).

他们可能会也可能不会使用相同的验证器代码,如代码是FLOSS.

<小时>

* as 由(当时)W3C 确认工作人员

I tried validating my CSS using both validators and they give different results! http://www.css-validator.org/ returns much more errors (245 in my case) than http://jigsaw.w3.org/css-validator/ (which returned 24 errors).
What is the difference between these to? Aren't they both under W3C?

Options I used for http://jigsaw.w3.org/css-validator/:

  • Profile: CSS level 3
  • Medium: all
  • Warnings: all
  • Vendor extensions: default

I also tried changing Vendor extensions value, if I set it to Errors I get about 100 errors, if I set it to warnings I get same amount of errors as when default, which is 24.

Options I used for http://www.css-validator.org/:

  • Profile: CSS level 3
  • Medium: all
  • Warnings: all

Examples of errors not returned by css-validator.org but not by jigsaw.w3.org:

  • ".kill-flicker: Property backface-visibility doesn't exist : hidden hidden"
  • ": Unknown pseudo-element or pseudo-class ::-moz-focus-inner [-moz-focus-inner]"

解决方案

http://jigsaw.w3.org/css-validator/ is hosted by the W3C. It’s the official CSS validator, linked from http://validator.w3.org/.

http://www.css-validator.org/ is not hosted by the W3C (*). It’s misleading because they use the same branding (almost identical site copy, except for additional advertisement/Facebook widget).

They may or may not use the same validator code, as the code is FLOSS.


* as confirmed by a (back then) W3C staff member

这篇关于http://jigsaw.w3.org/css-validator/和 http://www.css-validator.org/CSS 验证器之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆