W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2004

wrong line for generic font-family warning

From: Bookface <dkhalily@ic.sunysb.edu>
Date: Wed, 18 Feb 2004 18:34:05 -0500 (EST)
To: www-validator-css@w3.org
Message-ID: <Pine.SOL.4.58.0402181827400.21779@sparky.ic.sunysb.edu>


The error message for
"font-family: You are encouraged to offer a generic family as a last
alternative"

mistakenly refers to the first line containing font-family in the CSS,
rather than to the specific line where the problem occurs.

As an example:
http://tinyurl.com/2kvsb
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.ic.sunysb.edu%2Fstu%2Fdkhalily%2Fcse336%2Fhw3b%2Fw3c_example.html

In this example, the relevent generic font-family is missing from line
161, not line 7 as the validator reports.

- the Bookface / Daniel Khalily
Received on Wednesday, 18 February 2004 19:40:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:07 UTC