Request for adjustable font-size: line-fit

Hi,

I wonder if it makes sense and would be possible to implement a technique that 
adjusts the font-size to fit into an element's line-width.

This jQuery plugin covers the use-case: http://www.zachleat.com/web/bigtext-makes-text-big/
Unfortunately it is bound to jQuery and also causes massive repaints in browsers.

This is why I think it should be done natively within CSS like:

	font-size: line-fit;

Therefore we would need also the following sub-attributes to control (min | max) of the font-size:

	min-font-size: 1em;  
	max-font-size: 3em;

I already found some indicators that this topic has already been raised some time ago but didn't find 
any accurate or clarifying information about it [1] [2].

[1] http://lists.w3.org/Archives/Public/www-style/1999Mar/0086.html     
[2] http://my.safaribooksonline.com/book/web-development/css/0130092789/text-properties/ch10lev1sec12

If you have any hint or opinion on the topic (either way) I would be happy to know about it.

Cheers, 
*Anselm | Anselm Hannemann | @helloanselm | helloanselm.com

Received on Monday, 19 August 2013 07:24:15 UTC