W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2005

Re: Warning on font-size: with absolute values

From: olivier Thereaux <ot@w3.org>
Date: Fri, 21 Jan 2005 14:28:16 +0900
Message-Id: <40E30132-6B6D-11D9-B277-000393A80896@w3.org>
Cc: <www-validator-css@w3.org>
To: "Maciej Korzeniowski" <matrix3d@poczta.onet.pl>

Hello Maciej,

On Jan 19, 2005, at 8:36, Maciej Korzeniowski wrote:
> Might I suggest that the CSS validator issue a warning when a 
> font-size is used with an absolute value (px or pt) as this 
> renders useless the Text Size setting in Internet Explorer.  
> Many sites (esp.
>  fora) overlook this, making for a difficult read on higher monitor 
> resolutions.

The suggestion is a good one (we actually have one QA Tip about it[1]) 
but this is unfortunately beyond the realm of validation. The (CSS) 
validator is supposed to be an arbiter on whether a document follows 
the specification, and not whatever superset of rules could be seen as 
"good practices".

For this reason, it is my understanding that warnings should be kept 
for constructs that are frowned upon, but not forbidden, by the 
specification. And unfortunately I can not find such statement in the 
CSS spec for the units in font sizes...

[1] http://www.w3.org/QA/Tips/font-size

Thank you,
-- 
olivier
Received on Friday, 21 January 2005 05:28:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:15 GMT