W3C home > Mailing lists > Public > www-style@w3.org > June 2007

Re: Proposal: font-size: auto

From: David Woolley <forums@david-woolley.me.uk>
Date: Mon, 04 Jun 2007 08:56:31 +0100
Message-ID: <4663C5AF.9000903@david-woolley.me.uk>
To: www-style@w3.org

Windy Road wrote:

> I would like to propose a new "auto" value for the "font-size"
> property.  When set the broswer would try to automatically set the
> font-size, based on the element width, margins and padding ( (e.g.
> width: 50em; margin: 1em; padding: 1em).

em is defined in terms of the (new) font size!!

This is likely to result in very small fonts, which will increase the 
number of people turning off author font sizing, if not also accompanied 
by a minimum font size.  The minimum font size will mean that you cannot 
rely on the content fitting the container.

Like many recent proposals, it is incompatible with incremental 
rendering (whilst noting that some accepted proposals are also 
incompatible).

Overall, my feeling is that this is a page description language feature, 
where layout is much more fixed than authors  should reasonably expect 
for HTML/CSS.

-- 
David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Monday, 4 June 2007 07:56:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:51 GMT