W3C home > Mailing lists > Public > www-validator-css@w3.org > December 2001

should an invalid class name be allowed - maybe a warning?

From: Scott Dunbar <scott@xigole.com>
Date: Fri, 07 Dec 2001 15:59:16 -0700
Message-ID: <3C1149C4.3050807@xigole.com>
To: www-validator-css@w3.org
    For validation, if I have an invalid class name, i.e <img 
class="badspelling"... I think that the validator should at least warn 
you that the tag is of an unknown class.  I had a problem on one of my 
pages that was actually a case sensitivity problem.  In Mozilla it 
didn't render correctly but in all other browsers it did.  It was caused 
by my messing up the case of the class name but the validator indicated 
that everything was fine.  Mozilla class names are case sensitive, most 
other browsers are not.  But even a class name that doesn't exist at 
all, case sensitivity aside, still validates with no warnings.

    Just my thoughts.  Thanks for your time.

scott dunbar                                    xigole systems, inc.
scott@xigole.com                                superior, co
Received on Friday, 7 December 2001 18:00:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:42 UTC