W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: Request for adjustable font-size: line-fit

From: Gunther Pilz <gunther.pilz@gmail.com>
Date: Tue, 20 Aug 2013 15:24:56 +0200
Message-ID: <52136E28.9090805@gmail.com>
To: www-style@w3.org
Second try ... - sorry, wrong setting in my email client.

@Lea

> What happens when the line width depends on the font-size, such as when width is specified in ems, ch or ex?

In such a case there are two possibilities I could think of:

 1. The width is calculated on the basis of a given 'min-font-size' value
    (which defaults to the inherited font-size if not present) - some kind of
    "shrink-to-fit" concept.
 2. The width will always be calculated by the inherited font-size, which means
    that a given value of 'line-fit' for the font-size will be ignored in such
    cases.

And as I wrote before:"Therefore the element has to have an explicitly given
width (any valid value for width other than 'auto')."

Greetings,
Gunther

Received on Tuesday, 20 August 2013 13:25:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:33 UTC