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

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

From: Sylvain Galineau <galineau@adobe.com>
Date: Tue, 20 Aug 2013 16:29:12 -0700
To: Anselm Hannemann <info@anselm-hannemann.com>
CC: Richard Fink <rfink@readableweb.com>, Lea Verou <lea@verou.me>, "www-style@w3.org List" <www-style@w3.org>
Message-ID: <CE3949BA.B1D5%galineau@adobe.com>


On 8/20/13 12:29 PM, "Anselm Hannemann" <info@anselm-hannemann.com> wrote:

>On 20.08.2013, at 21:18, Sylvain Galineau <galineau@adobe.com> wrote:
>
>> From:  Richard Fink <rfink@readableweb.com>
>> 
>>>>   On 8/20/2013 8:32 AM, Lea Verou wrote:
>>>>     What happens when the line width depends on the font-size,
>>>>       such as when width is specified in ems, ch or ex?
>>>   I would suppose that, based on the em value initially specified in
>>>   the style sheet, the browser would compute a line size corresponding
>>>   to that, and so that would become the boundaries of the box, so to
>>>   speak.
>> 
>> The issue Lea is referring to - I think - is that if the element has
>> width:30em, the em in that length refers to the font size of the element
>> the width property applies to. Thus if said font-size is in turn a
>> function of how wide the element is you have a circularity. And in CSS,
>> circularity is awkward.
>
>I understood that.
I know. I was trying to clarify the issue behind Lea's question for
Richard's benefit. 

Received on Tuesday, 20 August 2013 23:29:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 August 2013 23:29:49 UTC