Alan Gresley wrote:
What the validator sees it as is not my point; what I was expecting
was a meaningful diagnostic, such as
2 Value Error : font-family Property font-family doesn't exist in
CSS level 2.1 but exists in CSS level 3
Firstly it treats this as valid CSS2.1.
(snip)
OK, but this still seems to be ignoring the main issue.
The validator says "Value error : Property <whatever>
doesn't exist in CSS 2.1 but exists in ...". At that
point, the user would reasonably expect to be told in
which dialect(s) of CSS "Property <whatever>" exists;
instead, he is told "exist in ..." a string from his
CSS, not containing said property, which is then repeated
for no apparent reason whatsoever.
If you have this via direct input.
body {
margin: 10px;
src: url('../fonts/TitilliumText22L005-webfont.eot');
padding: 20px;
}
You get this.
Property src doesn't exist :
url('../fonts/TitilliumText22L005-webfont.eot')
url('../fonts/TitilliumText22L005-webfont.eot')
Which is almost the same as you were seeking.
No it's not : it's totally different. What I am seeking
is a mention of this property "src" that does not exist,
not a quasi-random snippet of the CSS that (a) does not
contain "src", and (b) is once again repeated for no
apparent reason whatsoever.
I am sorry, Alan, the validator seems to be a complete
and utter mess at the moment, no matter how generously
you seek to defend its aberrant behaviour.
Philip Taylor
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/