W3C home > Mailing lists > Public > www-style@w3.org > October 2009

RE: [css3-text] Suggestion for text-overflow:shrink

From: Levantovsky, Vladimir <Vladimir.Levantovsky@MonotypeImaging.com>
Date: Wed, 7 Oct 2009 11:05:33 -0400
Message-ID: <E955AA200CF46842B46F49B0BBB83FF2A15E35@wil-email-01.agfamonotype.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, "Bert Bos" <bert@w3.org>
Cc: "www-style list" <www-style@w3.org>
A side note: with the support for WOFF getting a firm footing in Firefox and Gecko [1] (and hopefully in all other browsers soon) web authors will have a new degree of freedom - choose a condensed font design from the same font family as the main body font, and specify it as a font resource to render text in tight places without sacrificing style and readability.

Cheers,
Vlad
[1] https://developer.mozilla.org/en/CSS/@font-face



> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
> Behalf Of Tab Atkins Jr.
> Sent: Wednesday, October 07, 2009 9:49 AM
> To: Bert Bos
> Cc: www-style list
> Subject: Re: [css3-text] Suggestion for text-overflow:shrink
> 
> On Wed, Oct 7, 2009 at 8:33 AM, Bert Bos <bert@w3.org> wrote:
> > Your menu example could be approximated by this:
> >
> >    .menu {
> >      text-align-last: size; /* Vary the font size */
> >      min-font-size: 0.6em;  /* Protect against unreadable fonts */
> >      max-font-size: 1em;    /* Don't ever increase the font size */
> >    }
> >
> > This allows the font to shrink, but not to grow.
> 
> That seems completely acceptable.  I was wanting to avoid introducing
> a min/max pair of properties, but if they've already been proposed,
> then I'm fine with them.  I'd like to see that value return to the
> Text module if possible.
> 
> (This also answers a separate issue that I've run into before, where
> I've wanted a line of text to fill a space, but the actual length of
> text is slightly variable.  So ++ for solving multiple problems.)
> 
> ~TJ

Received on Wednesday, 7 October 2009 15:06:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:21 GMT