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

Re: Proposal: font-size: auto

From: Zoffix Znet <zoffix@zoffix.com>
Date: Mon, 04 Jun 2007 10:47:42 -0400
To: Windy Road <tom@windyroad.org>
Cc: www-style@w3.org
Message-Id: <1180968462.6744.71.camel@zoffix>

On Mon, 2007-04-06 at 11:31 +1000, Windy Road wrote:
> Hi,
> 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).
> A javascript simulation of the desired behaviour is available at
> http://windyroad.org/static/resolution-independence/
> Thoughts?

Follow up to my previous comment...

I think the algorithm should implement something like minimum font
size/maximum font size BEFORE the browser setting kicks in. As to limit
the range in which the "font-size: auto" would resize the fonts.
        Thank you for your time.
                Regards, Zoffix Znet
                ( http://zoffix.com , http://haslayout.net )
Received on Monday, 4 June 2007 14:47:54 GMT

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