Page 1 of 1

CSS3 namespace validation

Posted: Sun Jan 20, 2008 8:36 pm
by ctparker
At CSS3 validation, I still get validation errors when using the at-rule @namespace. I understand that this is just using the W3C validator and namespaces aren't part of CSS3 yet, but it really makes it more difficult to debug stylesheets with all of these extra errors. Would it be possible to provide another CSS validation option that would examine the CSS namespaces as well?

Posted: Mon Jan 21, 2008 11:55 am
by Dan
At this time there is no such option.

Unfortunately, until the CSS Level 3 specification is released there are little chances to integrate a proper CSS Level 3 validator (the validation rules aren't there yet, even for namespaces).

I suggest you break your CSS into several files, then use the @import to assemble those files. In this way you could isolate the section that is invalid in CSS Level 2 and eventually check it separately.